dugal Posted August 6, 2007 Share Posted August 6, 2007 Hi, I am new to CSS style sheets and have just given them a try for the first time!!I am impressed with the functionality and ease that comes with them. But now I want to make it look how I want, not the default way.Specifically, I want to eliminate the "break" below each heading when I use the <h1> tag.I want text in the heading to be placed immediately above the regular text, without a space between them.page example herehttp://mrgregory1.googlepages.com/example.htmand "mainstyle.css" code is here- /* CSS Document */body {font-family: Verdana,Arial,sans-serif;color: #EEEEEE;background-color: #000000;}p {line-height: 160%; margin-top: 0; }p.small {line-height: 110%;}h1 {color: #FFFF00;font-weight: bold;font-size: 125%margin-bottom: 0; }h2 {font-family: harrington,verdana,arial,sans-serif;color: #FFFF00;font-size: 175%;text-align: right;border-bottom: #EEEEEE 1px solid; }h3 {font-family: harrington,verdana,arial,sans-serif;color: #FFFF00;font-size: 200%;}ul {}li {}a:link, a:active, a:hover, a:visited {color: #FFFF00;}table {border-style: hidden} Link to comment Share on other sites More sharing options...
croatiankid Posted August 6, 2007 Share Posted August 6, 2007 Different browsers use different default styles (mainly padding and margin) for different elements. I would check out P and H1's paddings. By the way CSS style sheets is a pleonasm, CSS stands for cascading style sheets. Link to comment Share on other sites More sharing options...
dugal Posted August 6, 2007 Author Share Posted August 6, 2007 Croatiankid,Thanks for the grammer help, any suggestions for the code? Link to comment Share on other sites More sharing options...
Kingy Posted August 6, 2007 Share Posted August 6, 2007 I have a vision for you, it includes using z-indexing and relative positions.Look at this tutorial, it's very straight forward and it applies what you can learn in w3schools.http://www.echoecho.com/csslayers.htm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.