I work ([url]www.eduardlid.net[/url]) on a computer with a small display (1024 * 764). Every time I change the resolution of this public computer. In it´s ´normal´ resolution the width of a div isn´t good (text on right image (lake)). Can I improve this?
@CharlesMar 16.2012 — #I would consider looking into XHTML (or at least appropriately opening and closing tags which would probably suffice)...[/QUOTE]Why on Earth should he do that?
I don't understand exactly what you mean, have you tried adding the following css:
div {
width: 100%:
}
Also, looking at your mark-up I would consider looking into XHTML (or at least appropriately opening and closing tags which would probably suffice)...[/QUOTE]
I did the width: 100%, but that´s not the solution. It look´s fine on a big display, but not on the small one I´m working on: text is on image, not next to it (as it must be!).
But can I improve that or is the only solution to have a big display?
@CharlesMar 16.2012 — #For someone entering the world of HTML wouldn't you suggest learning good habits such as correctly opening and closing tags?
Dumbfounded.[/QUOTE]HTML and XHTML each have their own different sets of rules. And some of what is required by XHTML is forbidden in HTML. If your going to learn good HTML habits then you should be following the HTML rules, not the XHTML rules.
HTML and XHTML each have their uses and I use both. But I would never use XHTML for a web site.