CSS Layout issues in IE7 - overlapping borders

Ok, I think you’re right - I’m tripping over terminology.

What I said was something like
‘…your implementation is changing the content to suit the presentation…’
which isn’t quite right.

Instead what I was really trying to get at is something like:
‘…your suggested implementation throws away the semantics of the markup in order to minimise the number of tags used…’

Really??? But I see EXACTLY what you’ve said:

^ Ahem… beginner showing off… ahem… :wink: The content needs not to be grouped, but structured. Big difference. And divs are not the only ones doing the structuring. And divs are NOT semantic. And semantic attribute values is not the same with semantic html element use. And so on and so forth :slight_smile:


Please don’t, I’ll stand behind it proudly :slight_smile: And you’ve just committed a paradox. You didn’t quietly ignore it :lol:


Are you the same guy saying: :wink:


I fail to see how this will make it semantic to begin with. A p having a class flash is a semantic nonsense in my book. But hey, only presumably :wink:

Dave, all good points and food for thought. Just a couple of comments.

I disagree. My aim is to mark up the distinction between:
(header1 text1 header2 text2)
…where header 2 doesn’t make sense outside of the context of following header1

and (header text)(header text)
where the two sections are independent.

Yes, totally aware of that (separate) issue and will be addressing it in a future release by replacing the compass point with part of the postal code (which everyone in London knows and recognises.

nonnope I don’t think you’re prepared to engage properly: you seem to be mainly trying to pick holes in my use of language.

It doesn’t seem worth the effort required to respond.

I’ll leave you with the following article:
http://www.thehandcoder.com/markup/the-difference-semantic-markup-vs-structural-markup/
Not sure exactly who it’s agreeing with, but it’s interesting in any case.

Right, right, I’m the bad guy :slight_smile:

Just a reminder:

Thanks for references. Good luck with your web page. Honestly! Here’s mine, straight from the horse’s mouth:

[URL=“http://www.w3.org/TR/html401/struct/global.html#h-7.5.4”]<!ELEMENT DIV - - (%flow; )* – generic language/style container –>

I can’t see no sections, semantics or anything like that in there. How did you came to those conclusions about div, beats me :slight_smile:

div is “the generic container of the last resort”. First, you need to know enough HTML as to see if there aren’t any other more fitted and semantic container elements for your content. Slapping divs carelessly around means insufficient HTML knowledge. Beginner posing as a pro :wink:

PS: div is semantic-less. divitis: cure it.

Thanks

I’ve been called-in; since obviously there is some misunderstanding about markup. Yes, people can go overboard with application of DIV however they are designed to hook ‘styles’ or ‘languages’ are they are generic containers.

Presentational markup is considered bad practice; as is placing unnecessary title attributes repeating the exact same thing as the hyperlink itself.

Having an EM in a H1 is also a little weird since it is just overkill, over emphasising the already most important heading in the first place.

I’d agree with Dave on some of those points about stripping some of the unnecessary DIV wrappers.

The superfluous DIV values do not really add semantic structures to the page they are neutral and like I previously said are; generic block-level language/style containers. Nothing more… if they were more then also SPAN would be completely redundant.

They don’t create section islands; your headings denote the sections like was mentioned. Even if you buy into that non normative HTML5 mumbo-jumbo; they realised you cannot use DIV to define semantic sections.

The DIV is no more relevant than the P paragraph element. The DIV element is a generic container for flow content that by itself does not represent anything.

nonnope: yes, I would consider someone who seems to take pleasure in antagonising others and putting them down a Bad Guy. Perhaps I’ve read you wrong, but please look over what you’ve written and see that that’s how you come across.

If I have come across like that also, then I apologise, this was not my intention.

That article was not my “reference” - just something I found during the discussion.

Off Topic:

Don’t worry, Noonnope’s English is improving; I’d assume his first language is Romanian. Sometimes people get a little confused by what he is saying and take it the ‘wrong way’ he wasn’t trying to insult you.

Off Topic:

Yes Robert, Romanian :slight_smile: