/    Sign up×
Community /Pin to ProfileBookmark

Perplexed with IE/css issue

Is there any way I can prevent the images on the right hand column of certain pages from crowding my divider line? The problem only appears on IE and only on pages [url]http://www.zerotosuperhero.com/lose_fat.htm[/url] , build_muscle.htm, cardio.htm. Mysteriously, there is no “crowding” of the sidebar line on fit_firm_fab.htm, but the code is near identical except for changing the color of the table to pink.

After trying everything else, I swapped doctypes hoping that would make a difference, but to no avail.

Anybody know what is causing the problem or what css properties I could use to fix it?

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@KDLAMar 22.2006 — Your pink sidebar has a stray </p> tag in it - first cell of the sidebar. That's probably expanded the width of your table cell. The other pages you mentioned do not have this tag, causing the crowding.

Set padding inside your image tag to separate it from the divider.

You can do this for the whole page by putting the code below in the <head> section.
&lt;style type="text/css"&gt;
img {padding-left: 4px;}
&lt;/style&gt;


You might check into these other coding errors: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.zerotosuperhero.com%2Flose_fat.htm.

KDLA
Copy linkTweet thisAlerts:
@rinkjusticeauthorMar 22.2006 — Your pink sidebar has a stray </p> tag in it - first cell of the sidebar. That's probably expanded the width of your table cell. The other pages you mentioned do not have this tag, causing the crowding.

Set padding inside your image tag to separate it from the divider.

You can do this for the whole page by putting the code below in the <head> section.
&lt;style type="text/css"&gt;
img {padding-left: 4px;}
&lt;/style&gt;




KDLA[/QUOTE]


Completely logical suggestion KDLA, and it [I]should[/I] work, however it doesn't. Why? Couldn't let you. Thanks very much though.
Copy linkTweet thisAlerts:
@KDLAMar 22.2006 — No offense, but you really do need to clean up your coding. There are stray tags throughout, which can be causing and/or complicating many issues. You'll find it much easier to fix things once your coding is up to standard.

Good Luck -

KDLA
Copy linkTweet thisAlerts:
@rinkjusticeauthorMar 22.2006 — Yes, I know it's a mess. No offense taken.
×

Success!

Help @rinkjustice 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.26,
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,
)...