Jump to content
Sign in to follow this  
ydoaPs

html

Recommended Posts

i was reading a book about html and it said older browsers and IE 6.0 didn't support <q></q>. to me, that is a pretty obvious tag to support. anybody know why IE 6.0 doesn't?

Share this post


Link to post
Share on other sites

that was my guess, but i thought they may have a rational reason.

Share this post


Link to post
Share on other sites

Because their idea of standards is "what the developer thought was a good idea at the time of writing"

Share this post


Link to post
Share on other sites

Klaynos hits the nail on the head. Give the man a cigar!

Share this post


Link to post
Share on other sites

yourdad,

i was reading a book about html and it said older browsers and IE 6.0 didn't support <q></q>. to me, that is a pretty obvious tag to support. anybody know why IE 6.0 doesn't?

IE6 supports the <q> tag, its just that the <q> tag is purely definition. It doesnt render as anything in IE or any browser, unless you use stylesheets.

 

Theres a <blockquote></blockquote> tag which all browsers support, it indents text by 1 em on left and right margins.

Share this post


Link to post
Share on other sites
yourdad' date='

 

IE6 supports the <q> tag[/quote']are you sure? maybe you are using a different version of 6.

 

 

its just that the <q> tag is purely definition.

it makes "" around text.

 

Theres a <blockquote></blockquote> tag which all browsers support, it indents text by 1 em on left and right margins.

that's because it's a block quote.

Share this post


Link to post
Share on other sites
it makes "" around text.
No, like all the elements under the strict doctypes, it is purely a definition. The w3c suggests that certain elements be rendered in a certain but don't demand that anything gets rendered at all.

 

IE6 doesn't get thrown into quirks mode on sight of a <q> and it supports all the event handlers et cetera assosiated with it, so as far as support for <q> goes, it's pretty much there.

Share this post


Link to post
Share on other sites

just a point: firefox puts quote-marks around stuff in <q> tags.

 

this all seems abit silly... what if you wanted to mark stuff with quote marks, and also define it as a quote via HTML?

 

<q>this is a quote</q> wouldnt work, as IE would be missing the quote-marks.

 

<q>"this is a quote"</q> would work on IE, but gives double-quote-marks in FF.

 

thus making it silly

Share this post


Link to post
Share on other sites
<q style="quotes: none;">"this is a quote"</q>

Problem solved, albeit in rather inefficient way.

Share this post


Link to post
Share on other sites

lol, nice one :D

 

I stand by my 'its silly' comment tho :P

Share this post


Link to post
Share on other sites
It does support it but not correctly.

That should be the default answer for anything to do with MSIE and standards.

 

<q> is literally a markup tag in that it defines the bounds of a quotation. It's more for resource content description than it is for styling, although some clients add styling information by default (e.g. enclosing the content in quote marks).

Share this post


Link to post
Share on other sites

I figured I'd reopen an old thread for what should be a short question. I'm trying to build a very simple webpage that has a few images as links. Same as most websites, there is a list of links in a left hand column of a table and then the main page is on the right. I'm having two problems. 1) It wont display the images in Fireforx. They come across just fine in IE and the links work in Firefox, the images just wont show. 2) I can't figure out how to get the links in the left cell to open in the right cell. At this point I'm starting to think it has something to do with creating a CSS sheet.

 

I've never really done anything with webpages before. I just need these two things to complete a small concept design for work. I've searched the web for hours now. Can anyone give any ideas?

Share this post


Link to post
Share on other sites

Jordan, this really isn't the place to go for HTML assistance, this thread was started to ask a question about Microsoft's implementation, not to ask for a hand with it.

You will get a much better answer if you:

  1. Post on a forum such as http://webdeveloper.com
  2. Post with your problem a sample of relevant code or a link to the offending page, otherwise it's really just guesswork
  3. Are ready to accept that people are going to remind you not to use tables for layout.

Share this post


Link to post
Share on other sites

Tables are BAD for layout!!! but skipping over that...

 

We're going to have to see your code to see what is wrong.

 

If you want to open outside links (other websites) keeping your own menu on the left hand side you will have to use some form or frames or iframes, also not nice.

Share this post


Link to post
Share on other sites

tree, I'm aware I hijacked the thread but it's pretty much dead as I can tell. I'm sure one of the mods will split it if necessary.

 

Klaynos, I was told frames are bad for layouts. You even say that...

Looking at wikipedia as an example, there's a list of links down the side that correspond to a page in the middle of the window. The links aren't affected by the page opening in the middle. How is that done?

Share this post


Link to post
Share on other sites

Jordan, following point 2 would be really handy if we're going to be helpful.

 

Wikipedia uses a lot, seriously alot, of server side processing. Basically every time you request a page it is generated on the fly and the links on the side are included in this process.

Share this post


Link to post
Share on other sites
tree, I'm aware I hijacked the thread but it's pretty much dead as I can tell. I'm sure one of the mods will split it if necessary.

 

Klaynos, I was told frames are bad for layouts. You even say that...

Looking at wikipedia as an example, there's a list of links down the side that correspond to a page in the middle of the window. The links aren't affected by the page opening in the middle. How is that done?

 

The code for the menu appears on every page. So the menu is rendered anew on every page you load. I think the 2 column ness is achieved using CSS and div's

Share this post


Link to post
Share on other sites

Ok, I was afraid that they used something like that. So I guess I can just copy/paste the script since I'm only going to need about 5 pages. I'd just like them all to have the sidebar.

 

As for the image links, I was just trying to get one to link to SFN since my actually file isn't ready yet.

 

<a href="http://scienceforums.net">
<img border="0" src="c:\Documents and Settings\Java Programs\WebPage\SFN.bmp" alt="SFN" width="180" height="90">
</a>

 

It works perfect in IE and the link part works in Firefox, I just can't see the image.

 

I guess I should also mention that although it's a .bmp file in this case, I have tried .jpg and .gif. It just happened the last one I tried before copying with .bmp. None work.

Share this post


Link to post
Share on other sites
c:\Documents and Settings\Java Programs\WebPage\SFN.bmp
If you really must be using absolute references to local files (read: don't) then the correct format is:

file://C:\Documents and Settings/...

I'm not sure how MS's crazy backslash is interpreted by FF on Windows, but I'm certain you aren't going to get anywhere without declaring that it is on the file system.

Share this post


Link to post
Share on other sites

Hey, that worked. Thanks a lot tree. If you don't mind one more think, what would be recomended over local files? Uploading them to a server?

Share this post


Link to post
Share on other sites

Carry on using local files if you don't plan to publish or play with server related stuff. But don't use absolute references.

 

Lets say you have a bunch of HTML documents all in one directory called C:\dev\webpage\ and they will be called index.html, about.html and monkeys.html.

 

An absolute reference from index.html to monkeys.html might look like this:

Learn about <a href="file:\\C:\dev\webpage\monkeys.html">Monkeys</a>

Where as a relative reference would look like this:

Learn about <a href="monkeys.html">Monkeys</a>

and if monkeys.html were in a subdirectory called animals then it would like this:

Learn about <a href="animals/monkeys.html">Monkeys</a>

You'll surely see why this means that moving files around ceases to be such an issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.