Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Urgent Css Help [resolved]


14 replies to this topic

#11 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 20 June 2009 - 08:28 PM

The CSS doesn't provide me with enough information on the element it is modifying. However, after having a look at the forum's source code, it turns out we're messing with a table, which already has a predefined width, and, according to the source code i'm viewing as of this posting, has an image in it. So, i would suggest the following for the header class (assuming the image element remains and the width of the table is predefined in the HTML):
.header {
margin-left: auto;
margin-right: auto;
}
This CSS won't work if there is no defined width for the element.

I have also spotted an error, as of this posting, in your HTML:
<table border="0" cellpadding="0" cellspacing="0" width="744px" class="header"><td align="right" class="welcome">
should be:
<table border="0" cellpadding="0" cellspacing="0" width="744px" class="header"><tr><td align="right" class="welcome">
You'll have to verify things on your end before we can continue.

EDIT: seems i was a bit late.

#12 miladinoski

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 528 posts
  • Gender:Not Telling
  • myCENT:83.32

Posted 20 June 2009 - 08:34 PM

Saint Michael, that works even better, but that messes up the categories and the whole layout of the site.. see the atachment if you want to see what I mean...

Attached File  Screenshot____________________Opera_2.png   175.93K   4 downloads

Edited by miladinoski, 20 June 2009 - 08:35 PM.


#13 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 20 June 2009 - 08:42 PM

Adjust the width of the wrap div by 5 pixels and see if it comes back up and then the best thing to do is redesign the banner to that width to correct it.

#14 miladinoski

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 528 posts
  • Gender:Not Telling
  • myCENT:83.32

Posted 20 June 2009 - 08:50 PM

Forget everything else, just adding:

margin-left: auto;
margin-right: auto;
to .header solves the problem and REALLY solves it! The image is centered and everything is okay :(

Thanks everyone, you're really kind!

#15 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 21 June 2009 - 02:15 AM

Topic is resolved.

Please PM any moderator to continue this discussion. Until then, this topic is closed.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users