...

View Full Version : Right Aligned Mystery



Vijo
06-27-2008, 04:42 PM
On this particular page: http://wifeee.com/resource/guides/uni/,
the text has gone right. Please view my source code and see what is going wrong!

jcdevelopment
06-27-2008, 04:44 PM
try this



#content {
display: inline;
width: 570px;
height: auto;
font-family: Tahoma, Verdana;
font-size: 11px;
text-decoration: none;
color: #666666;
background: url() no-repeat #FFFFFF;
border: 2px solid #ffffff;
margin: 0px;
padding: 5px;
}


you had it floating right

Vijo
06-27-2008, 04:48 PM
But that makes the homepage go all weird...

abduraooft
06-27-2008, 04:49 PM
Seems you have no firebug (https://addons.mozilla.org/firefox/addon/1843) in your FF

#content h2{
font-size: 9px;
color: #666666;
font-family: Tahoma, Verdana;
text-decoration: bold;
text-align: right;
margin: 0px;
} I think it's due to that!

BTW, fix all markup errors, see http://validator.w3.org/check?uri=http%3A%2F%2Fwifeee.com%2Fresource%2Fguides%2Funi%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

jcdevelopment
06-27-2008, 04:51 PM
sorry didnt see this in firebug



#content h2 {
color:#666666;
font-family:Tahoma,Verdana;
font-size:9px;
margin:0px;
text-align:right;
}


take off the align right!

EDIT** oops, sorry abduraooft caught it first!

Vijo
06-27-2008, 04:56 PM
Hmm, I have deleted that, but no difference to the homepage?

abduraooft
06-27-2008, 05:08 PM
Hmm, I have deleted that, but no difference to the homepage? still there!

#content h2 {/*styles.css (line 123)*/
color:#666666;
font-family:Tahoma,Verdana;
font-size:9px;
margin:0px;
text-align:right;
}

Vijo
06-27-2008, 05:24 PM
Eh? According to my code, it has gone.

#content h2{
font-size: 9px;
color: #666666;
font-family: Tahoma, Verdana;
text-decoration: bold;
margin: 0px;
}

abduraooft
06-27-2008, 05:36 PM
Eh? According to my code, it has gone. now it's ok for me too :). The text looks left-aligned.

Vijo
06-27-2008, 06:27 PM
http://wifeee.com/medias/index.php
Now the h1 text has gone dodgey, as well as ordinary text on the Game Info pages.
This is on FF3, I would also like this done quickly as most of my visitors use FF3.

Vijo
06-28-2008, 09:51 AM
Bump.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum