AJAX Forums

Heading problem in HTML - problems with CSS?

This is a discussion on Heading problem in HTML - problems with CSS? within the XHTML and CSS forums, part of the Beginners AJAX category; I have figured out the problem.The lines I am using are all using heading tabs from a CSS. Each heading has margins set- those margins are causing the extra ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 05-25-2007, 07:17 PM   #1 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 Henry J is on a distinguished road
Heading problem in HTML - problems with CSS?

I have figured out the problem.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 hot 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 (wher eI want the margins).So how do I remove the margins from one paragraph that are set in CSS? I would just simply put the text in bold, and change the font size to get the similar look and just don't use the CSS for that paragraph but I dont have any idea what the formatting is (the formatting is blank under the CSS edit pallette except for the margins).HELP!!!!!!!!
__________________
Henry J is offline   Reply With Quote
Old 05-26-2007, 03:11 PM   #2 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 Colin K is on a distinguished road
You can change the style for one particular element while keeping other elements of the same type unaffected.Add this to your paragraph tag:That will set the margins for that one particular paragraph to 0, while leaving all other paragraphs unaffected.
__________________
Colin K is offline   Reply With Quote
Reply

Bookmarks


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

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
HTML or XML problem plz solve it? papseddy XML and XSLT 0 11-22-2007 06:59 AM
having problems with javascript? funniewunnie JavaScript 1 06-02-2007 04:44 PM
Html Problem...? James H XHTML and CSS 3 05-30-2007 02:28 PM
computer problems. can anyone help. (html fonts, and virtual memory/RAM issues)? thenextiommi XHTML and CSS 3 04-10-2007 10:09 PM
I need the code, case problem 1, tutorial 12 HTML, XHTML, and Dynamic HTML third... ebizartistry XHTML and CSS 0 04-04-2007 08:14 PM


All times are GMT -4. The time now is 08:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com