Announcement

Collapse
No announcement yet.

A question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • A question

    On very top of pages that are generated by Vbulletin has this line : <!DOCTYPE html PUBLIC ~">

    That line is interfering with my css setting, which is

    Code:
    .menu {
    	margin : 1;
    	padding : 1;
     text-align: center;
     width: 90px;
     border: 1px solid #937050;
     background-color: #BC9C85;
     background-image: url();
    	font-size:8pt; 
    	font-family:Tahoma; 
    	color:#FFFFFF; 
     }
    The difference it makes is quite notceable.
    Look at the site navigation menu and compare.
    http://www.janimes.com/
    http://www.janimes.com/forum/ <- being effected by the <!DOCTYPE ~"> line

    Does anyone have a solution to this ?

  • #2
    is the difference that it goes from brown to white between the tables in the navigation. i wouldn't have seen it if you hadn't posted about it O_o.

    btw nice anime site

    Comment


    • #3
      vBulletin 3.x is xhtml/css and therefor requires the top doctype and your css should be compliant with xhtml/css in order to work.

      margin : 1;
      padding : 1;


      margin: 1;
      padding: 1;


      background-image: url();

      you can remove that background image one unless you are going to insert an image.

      Comment


      • #4
        I did what you said and it doesn't seem to have changed anything.

        Are you saying I must have doctype on regular pages as well in order to generalize ?

        Originally posted by Floris
        vBulletin 3.x is xhtml/css and therefor requires the top doctype and your css should be compliant with xhtml/css in order to work.

        margin : 1;
        padding : 1;


        margin: 1;
        padding: 1;


        background-image: url();

        you can remove that background image one unless you are going to insert an image.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X