/    Sign up×
Community /Pin to ProfileBookmark

CSS and Div Tag Nightmare!

Hey im having a problem with this site
steamkingal.com

when the window reizes the div tags get closer together..(thats fine) but if you keep bringing the window closer they start to overlap each other! how do i make it to where even when you reize your window the divs stay in postion so they dont overlap??

thanks for the help guys!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangJun 06.2010 — #container { min-width:700px;}or absolute width.

/* this */
.twoColLiqLtHdr #container #banner {
height: auto;
}
/* the same as this */
#banner {
height: auto;
}
The selector is parsed from right to left. The parser has to go up the DOM tree verifying the selector chain. Just using #banner, which is unique anyway, the parsing is quicker.

There are instances where a selector chain of this type is necessary, but is general it is only a disadvantage.
Copy linkTweet thisAlerts:
@repeater09authorJun 06.2010 — thanks ! but i have no idea wat u said lol but its solved anyway wat i did was instead of having the divs set as percentages i put them as pixels which works perfectly
×

Success!

Help @repeater09 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...