Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 06-11-2007, 06:04 PM   #1 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
So confused with CSS

Ok, well I'm designing a website, and I have no idea what the problem is with this.
http://www.thedjhouse.com/subindex.p...%20CD%20Player
Stylesheet: http://www.thedjhouse.com/style.css

If you look at that page, the content overflows out of the div. I have no idea why. But as if that's not weird enough, the look of the page changes every time you refresh it. Sometimes it'll look normal, sometimes it won't (only in firefox). Does anyone have an idea what the problem could be?
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 06-11-2007, 06:31 PM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,939
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro


OS: Windows Vista
res: 1024x768
browsers: IE7 & FF 2.0.0.3

There's nothing wrong with that site....I refreshed the page multiple times...I even navigate troughout it....

are you trying to promote your site here...??
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2007, 06:45 PM   #3 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
lol I really am not trying to promote i'll take a s/s of what it's doing
http://www.thedjhouse.com/website.jpg
I'm on XP with Firefox. The weirdest thing is that it doesn't do it sometimes without me changing the code at all.
It makes no sense because I created this website originally on my computer using WAMP5 and it works fine, but after I upload it to the server it does this..

edit: Changed to URL cause big image size

Last edited by Capo64 : 06-11-2007 at 06:54 PM.
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2007, 10:13 PM   #4 (permalink)
Inactive
 
Join Date: 05-06-07
Posts: 85
iTrader: 0 / 0%
Latest Blog:
None

alainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the rough
Send a message via MSN to alainkun
I´m in XP too and I can see it perfectly with FF and IE6.

Did you tried to delete your cookies?
alainkun is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 04:55 AM   #5 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
I'm in school now on a Mac and the same thing happens here, but everything gets messed up on Macs. I was thinking it could be that I have Dual Monitors set up and they're different sizes. But it doesn't make sense that it only happens sometimes
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 04:59 AM   #6 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,939
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
it doesn't make any sense for me either
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 05:47 AM   #7 (permalink)
v7n Mentor
 
StrongInTheArm's Avatar
 
Join Date: 04-24-07
Location: Mare Tranquillitatis (The Sea of Tranquillity)
Posts: 5,098
iTrader: 0 / 0%
Latest Blog:
None

StrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest orderStrongInTheArm is a web professional of the highest order
XP, FF 2.

Resizing the browser window has an effect but not what you reported.

Making the window too small to display the entire page, makes the third product column lose all its products, I just get a thinner white column with nothing in it. I do not see any contents overflowing.

You could look at the min-width attribute but not all browsers support it, at least not the older ones
__________________
(:(:(:(:(:(:(::):):):):):):):)
StrongInTheArm is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 02:49 PM   #8 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
They don't disappear they just wrap as if they were text because they're not a table.

Has anyone else had the same problem as me?

Edit:

Alright I made a change to it and so the body div isn't 100%. The problem seems to be that it's not seeing the content as if it's in the div itself because the div stops and the content goes.

Last edited by Capo64 : 06-12-2007 at 03:01 PM.
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 03:59 PM   #9 (permalink)
Inactive
 
StupidScript's Avatar
 
Join Date: 09-22-06
Location: Los Angeles
Posts: 678
iTrader: 0 / 0%
Latest Blog:
None

StupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really nice
Not seeing overflow issues with FF2/Win98SE, but that dark blue background makes it tough to read the black text (so something's not allowing the actual bgcolor to display) and there is a syntax error on Line 81:
Code:
dl.menu dt { background: #0044AA; color: #FFFFFF; width: 100%; align: left; text-indent: 0; font-weight: bold; font-size: 15; }
(should be "text-align:left;")

Otherwise, in the interest of working with squeaky clean code, you should update your stylesheet with measurement values for many of the entries, for example font-size is specified in a unit of measurement, like 15em or 15pt or 15px, as are width/height/indent measurements. It has been seen many times how an incomplete stylesheet definition can mess up the display in unexpected ways.

As weird as it may sound, fix all of the measurement units in your stylesheet, and see if that fixes your issues.
StupidScript is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 04:15 PM   #10 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
Thanks for the advice, StupidScript. I fixed the measurements (I'm usually really anal about having clean code. Not sure why I never did that), but it didn't change anything. You're getting the dark blue background too right?

In IE it looks fine now, but for some reason, FF is closing the div before it puts in all my items. I'll try a few things to see if I can fix it.

Look now at the index.php. I added some text in the body div and it made it larger. Do you think it just doesn't want a div inside another div?

Last edited by Capo64 : 06-12-2007 at 04:23 PM.
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 05:42 PM   #11 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
Ok, I just changed it to a table layout primarily, it works now, but I really still want to know what was going on with it with the other layout. Oh well it works alright now I suppose.
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 06:26 PM   #12 (permalink)
Inactive
 
StupidScript's Avatar
 
Join Date: 09-22-06
Location: Los Angeles
Posts: 678
iTrader: 0 / 0%
Latest Blog:
None

StupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really nice
Here's your hint:
Quote:
...FF is closing the div before it puts in all my items.
You probably tidied up the containers with your rewrite. It probably was a problem with a broken nest that remained virtually invisible until you took it out. I'll bet if you go back through and manually change it back (!) to a DIV-oriented design (as it was, but with fresh code), it'll probably work, for the same reason it works now as a fresh TABLE-oriented design.
StupidScript is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2007, 07:15 PM   #13 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 159
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is liked by somebodyCapo64 is liked by somebodyCapo64 is liked by somebody
Quote:
Originally Posted by StupidScript View Post
Here's your hint:You probably tidied up the containers with your rewrite. It probably was a problem with a broken nest that remained virtually invisible until you took it out. I'll bet if you go back through and manually change it back (!) to a DIV-oriented design (as it was, but with fresh code), it'll probably work, for the same reason it works now as a fresh TABLE-oriented design.
Not sure, I was making test codes of straight HTML and just a LOT of text and it ended up overflowing the containers too. I always liked tables better but people kept talking about how good using div's is. I think it had something to do with the floating.

Oh well, all is good now. Thanks everyone for the help
Capo64 is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused and need help! sweetcrabhoney18 Graphic Design Forum 6 06-01-2007 10:19 AM
Confused awall19s brother V7N Directory Issues 6 06-03-2005 09:20 AM
Confused Gevorg Google Forum 0 04-28-2005 07:33 AM
New guy/very confused troyhipolito Web Hosting Forum 2 02-05-2004 01:24 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:43 AM.
© Copyright 2008 V7 Inc