Add your website to the Xemion web designer directory and gain highly-targeted traffic and new leads.

problem in css

Post Reply
 
Thread Tools
 
#1 October 23, 2007 by desperateboy - Junior Member, 1 posts PHP: , RoR: , CSS/XHTML:  , Design: , Javascript: , ASP/.NET: , SEO: , SQL: Reputation Level
hi
I am making web pages. In web pages , the lines I am using are all using heading tabs from a CSS. Each heading has margins set- those margins are causing the extra spacing that I don't want for this particular paragraph.

I don't know how to keep all of the formating from the Heading settings while getting rid of the margin settings. I can't change the heading settings because those headings are used elsewhere .

I have tried a lot but not succeeded. I drop a query at web site design company's forum but don't get any reply.
So how do I remove the margins from one paragraph that are set in CSS?

Last edited by Xemion : December 30, 2007 at 06:32 PM.
 
#2 November 25, 2007 by drmadcow - SEO Expert Canada, 15 posts Victoria, PHP: , RoR: , CSS/XHTML:  , Design: , Javascript: , ASP/.NET: , SEO: , SQL: Reputation Level
I usually set all margins and padding to 0, then define them as needed defined by the classes there in. It also makes for having the best cross browser compatibility.
Post Reply

Thread Tools