Forums
This topic is locked
CSS styling
Posted 17 Oct 2008 16:49:27
1
has voted
17 Oct 2008 16:49:27 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 18 Oct 2008 10:38:56
18 Oct 2008 10:38:56 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 24 Oct 2009 22:31:19
24 Oct 2009 22:31:19 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 01 Apr 2013 07:34:00
01 Apr 2013 07:34:00 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.