vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   CSS Validation Help (https://vborg.vbsupport.ru/showthread.php?t=147155)

Mudvayne 05-13-2007 06:22 PM

CSS Validation Help
 
Quote:

.overflow {
width:770px;
padding-bottom:20px;
overflow:auto;
overflow-x:auto;
overflow-y:hidden;

}
I just want to use overflow horizontally. Above code works like charm but since overflow-x:auto; & overflow-y:hidden; isn't a valid sintax so my site's CSS isn't validated. So I removed overflow-x:auto; & overflow-y:hidden; & then the overflow works fine on Opera & Firefox. But on IE the overflow works vertically as well as horizontally. Is there any CSS code (validated) that I can use only horizontally overflow?

CSS Validator

cyberphr 05-13-2007 08:38 PM

I'm afraid there isn't. :(

Mudvayne 05-14-2007 04:46 AM

Ah ok :(. I removed these two lines & its working fine on FF & Opera. Lets IE do his job & we do ours :D. Now a days who use IE? :p

CyberAlien 05-14-2007 06:53 AM

So you removed css that makes style look correctly in one browser only because it wasn't validating? Sigh. Doesn't matter if it validates or not, as long as code is correct. Other browsers don't support that css and they will ignore it, so it won't cause any problems at all.

Usability should be your main concern, not validation. Valid css is nice to have, but not if it causes problems to some users.


All times are GMT. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00998 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete