Hi
I'm very new to coding in CSS, and I did a very basic dreamweaver / x/HTML/CSS intro course a few weeks ago. (I'm using Dreamweaver Mx 2004).
Under advice from the teacher, my Html has is divided up into Divs.
I've got divs for page, header, content and footer.
Within content I've got divs for columnnavigation and another for columncontent
For testing, I have gone back to just one div on the page with no id="classname". That works fine.
When I change the div to include any class ... for example
when the page is viewed in a browser, and I attempt to select a word or line of text, all the text from that point either forward or backward is selected, not just the word or line that I wanted. This sux from a presentation point of view.
The header class is as follows
Any ideas where I'm going wrong?
I'm sure I need to learn more about CSS.
Thanks
Zollo VBA Developer
I'm very new to coding in CSS, and I did a very basic dreamweaver / x/HTML/CSS intro course a few weeks ago. (I'm using Dreamweaver Mx 2004).
Under advice from the teacher, my Html has is divided up into Divs.
I've got divs for page, header, content and footer.
Within content I've got divs for columnnavigation and another for columncontent
For testing, I have gone back to just one div on the page with no id="classname". That works fine.
When I change the div to include any class ... for example
Code:
<div id="header">
Line 1 <br />
Line 2 <br />
Line 3 <br />
Line 4
</div>
The header class is as follows
Code:
#header {
position: absolute;
float: left;
top: 10px;
left: 2%;
}
I'm sure I need to learn more about CSS.
Thanks
Zollo VBA Developer