943,945 Members | Top Members by Rank

Ad:
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Nov 4th, 2009
0
Re: margin in css
You have access to his website? The thing is where trying to help but as of yet he has not give us any coding what-so-ever. So where fighting an uphill battle trying to sort out a site with no information. Impossible I think!

If you can provide us with some sort of coding we can help sort this issue out so that if it happens again you will know exactly what to do to sort this problem out.

Surely you have access to the website...? Whats your websites URL? Just paste it in here so we can view the source ourselves and figure out any bugs or glitches. They don't mind you posting your web site in the forums as long as it's for help and not spamming.
Reputation Points: 28
Solved Threads: 1
Newbie Poster
Wrams is offline Offline
22 posts
since Nov 2008
Nov 4th, 2009
0
Re: margin in css
'margin' auto needs DOC type in IE. And what is your code. If you don't show your code, we can't find what the problem is. So, post your code. Insert the doc type in your html first. Try this:
HTML and CSS Syntax (Toggle Plain Text)
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd">
If it not ok, post your code here.
Reputation Points: 120
Solved Threads: 133
Practically a Master Poster
Zero13 is offline Offline
620 posts
since Jan 2009
Nov 7th, 2009
0

margin in css

css Syntax (Toggle Plain Text)
  1. img.right { float: left; margin: 0 10px 10px 0; }
  2. div.clear { display: block; height: 0; clear: both; }

Make sure you add <div class="clear"></div> afterwards or it could mess up any other floats you may have on your page.
<FAKE SIGNATURE>
Last edited by peter_budo; Nov 8th, 2009 at 4:26 am. Reason: Keep It On The Site - Do not manually post "fake" signatures in your posts.Ccreate a signature within the user control panel.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Labhrainn Aemi is offline Offline
1 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Different Monitor resolutions changing layout! Help
Next Thread in HTML and CSS Forum Timeline: Why font-size is affecting the gap between divs in this example?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC