6 replies [Last post]
niclipse
niclipse's picture
Offline
Enthusiast
Last seen: 14 years 34 weeks ago
Joined: 2006-02-08
Posts: 54
Points: 0

Let's imagine I had a quote on a webpage that looked like this:

"Hello world!!"

If I were to wrap this sentence with HTML quote tags, it would look like this in IE7

<q>"Hello world!!"</q>

result:

"Hello world!!"

However, if I do the same code and look at the page in Firefox, it will look like this:

<q>"Hello world!!"</q>

result:

""Hello world!!""

(four quotation marks total)

Any ideas on how to make this match in both browsers? If you remove the quotation marks and just put , then in IE7 there are no quotes (because IE7 doesnt automatically place them , like firefox does)

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 10 years 11 weeks ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

There are whole articles on

There are whole articles on this topic strewn around the web. Googling should turn some up. I think your best choices are:
- don't use <q>
- use CSS to remove the quotes from FF, something like

q:before, q:after { content: ''; }

should do it.

There are other solutions and other opinions.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 40 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

quotes and blockquotes

As Chris said, there are an article or three on the web. One of them, I authored (before Stacey's article in A List Apart, I might add). See How to mark up quotes.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

niclipse
niclipse's picture
Offline
Enthusiast
Last seen: 14 years 34 weeks ago
Joined: 2006-02-08
Posts: 54
Points: 0

Chris..S wrote:There are

Chris..S wrote:
There are whole articles on this topic strewn around the web. Googling should turn some up. I think your best choices are:
- don't use <q>
- use CSS to remove the quotes from FF, something like

q:before, q:after { content: ''; }

should do it.

There are other solutions and other opinions.

Worked perfect.

Phreestyle
Phreestyle's picture
Offline
Enthusiast
Australia
Last seen: 6 years 47 weeks ago
Australia
Timezone: GMT+8
Joined: 2007-05-12
Posts: 235
Points: 6

kk5st I have a very similar

kk5st
I have a very similar query to the OP, but the link you provided doesn't seem to work for me. Could you repost it please

Life's a journey. Enjoy the trip.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 40 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

@Phreestyle: Sorry, my host

@Phreestyle: Sorry, my host is down again. Keep trying from time to time, or post your specific issue to a new thread.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Phreestyle
Phreestyle's picture
Offline
Enthusiast
Australia
Last seen: 6 years 47 weeks ago
Australia
Timezone: GMT+8
Joined: 2007-05-12
Posts: 235
Points: 6

Will do. Ta

Will do.
Ta

Life's a journey. Enjoy the trip.