Forums
This topic is locked
CSS styling
Posted 16 years ago
1
has voted
16 years ago Simon Bloodworth posted:
hii have this issue on and off for a while and wondered if any one could tell me how to get round it?
If i for instance style a H1 for a header and wish to then display maybe a <p> style next to it keeps pushing the text down a line?
I set all padding and margin to 0 yet some strange force keeps moving my text!
Any help please?
regards
Simon
DWMX 2004 | ASP | VBScript
Replies
Replied 16 years ago
16 years ago Alan C replied:
Hi Simon,
is it just in one browser, or does it happen across several?
can you post a link to an example?
is it just in one browser, or does it happen across several?
can you post a link to an example?
Replied 15 years ago
15 years ago Anglina Smith replied:
Hello,
Can you please give the code so that I can look at it?
Can you please give the code so that I can look at it?
Replied 12 years ago
12 years ago David Hall replied:
CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts.[1] This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices.