Register    Log in to check your private messages    Log in
Contrast and my html/css/js/php/mysql coding skillz

 
Post new topic   Reply to topic    NBrid Forum Index .: Represent
Author Message
bonesquad
Champ


Joined: 17 Apr 2004
Posts: 2299
Location: Petoria

PostPosted: Sat Aug 07, 2004 2:55 pm 
   Post subject: Contrast and my html/css/js/php/mysql coding skillz
Reply with quote

After you left me alone, I looked into your contrast site problem.

Whenever there's a browser issue, the first thing I do is check to see if all my html/css code is valid (via W3's validator). Contrast only had a few minor issues, nothing that would indicate why it looked so spread out on Mozilla/Firefox.

I then looked at the table you used for the page layout. I tried to follow it to see if there was any extra/missing row/columns whatever. But that wasn't it either.

The issue isn't tables at all, it's <p> tags! It seems IE shows them differently than Firefox. IE only adds space around P tags when there's text in them, Firefox always adds space around them. You could take them out since they arn't nessasary where they are causing problems, but your best best is to add the following style info (you know in the same place you added '.news' and such).

Code:
p {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}


That *should* do the trick. Beaware though that this means ALL P tags will no longer have margins. (Just add BR tags or a new style.)


Now fix your broken links! Like to the link page... cough./
BTW, I added Contrast to Nbrid's link page.
Back to top
Psydd
looking for sailors


Joined: 17 Apr 2004
Posts: 613

PostPosted: Sat Aug 07, 2004 6:43 pm 
   Post subject: re: Contrast and my html/css/js/php/mysql coding skillz
Reply with quote

Excellent find, bonuts.
Back to top
Hybrid
Site Admin


Joined: 17 Apr 2004
Posts: 2528
Location: New England

PostPosted: Sat Aug 07, 2004 9:43 pm 
   Post subject: re: Contrast and my html/css/js/php/mysql coding skillz
Reply with quote

yeah yeah, ive been meaning to get on that whole broken links dealie. I figured I could leave everything in shambles until I publicly announced my site (through extremely small advertising, mostly word of mouth). However, I don't really want to do anything until my template is actually recognized by all the other pages. This way I don't have to worry about re-uploading every single page when I change the template. I'm sure it's a very simple issue but for some reason the pages don't seem to read from the template file.

By the way, for some reason I can't use "view source" on con-trast. I really have no idea why...
Back to top
Psydd
looking for sailors


Joined: 17 Apr 2004
Posts: 613

PostPosted: Fri Aug 20, 2004 7:03 pm 
   Post subject: re: Contrast and my html/css/js/php/mysql coding skillz
Reply with quote

I never mentioned that the site looks soooo much better now without the gap. The whole top section makes sense!
Back to top
Hybrid
Site Admin


Joined: 17 Apr 2004
Posts: 2528
Location: New England

PostPosted: Sat Aug 21, 2004 1:02 am 
   Post subject: re: Contrast and my html/css/js/php/mysql coding skillz
Reply with quote

Well I guess you could say it makes sense. Although some have complained about the oversized archives button (that is still completely useless as of this post). Now that all the craziness of this week is over, I can possibly utilize the archives seeing as how setting it all up should take maybe 5 minutes. Then again, I manage to make the easiest tasks take 2 hours so here's hoping to have archives within the next couple months! If only there were some editorials to post...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NBrid Forum Index .: Represent All times are GMT - 5 Hours
Page 1 of 1