Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 1st, 2007, 12:35 AM
thehuby
Guest
 
Posts: n/a
Default Opera Paragraph Issue

I have a site that is having a strange issue in Opera. For some
reason my paragraphs seem to have some strange left hand margin thing
going off.

I can't think of any reason for it as I have no real styling on the p
tags except for this:

p{
margin: 1em 0;
padding: 0;
line-height: 1.5em;
}

Page is at http://004.e-connected.com/

If anyone can't help me identify this I would really appreciate it.

Thanks in advance!

Rick

  #2  
Old March 1st, 2007, 01:15 AM
dorayme
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

In article
<1172708389.565821.99270@p10g2000cwp.googlegroups. com>,
"thehuby" <thehuby@gmail.comwrote:
Quote:
I have a site that is having a strange issue in Opera. For some
reason my paragraphs seem to have some strange left hand margin thing
going off.
>
I can't think of any reason for it as I have no real styling on the p
tags except for this:
>
p{
margin: 1em 0;
padding: 0;
line-height: 1.5em;
}
>
Page is at http://004.e-connected.com/
>
If anyone can't help me identify this I would really appreciate it.
>

How about you helping us to identify it? What is it you are
meaning? In my Opera, all looks fine and lovely enough?

--
dorayme
  #3  
Old March 1st, 2007, 02:05 AM
John Hosking
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

thehuby wrote:
Quote:
Page is at http://004.e-connected.com/
>
If anyone can't help me identify this I would really appreciate it.
What are you, a masochist? Well, here's hoping this *doesn't* help...


I'm getting weirdnesses in both Opera and FF, but maybe my question
below and a bit of voodoo magic will make them go away ;-)

Do you really mean to have, say, 135px instead of 335px in
#middle { padding: 0 335px 0 60px; }?

You'll want to validate your source and CSS, too.

--
John
  #4  
Old March 1st, 2007, 02:05 AM
dorayme
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

In article <45e63184$1_2@news.bluewin.ch>,
John Hosking <John@DELETE.Hosking.name.INVALIDwrote:
Quote:
thehuby wrote:
>
Quote:
Page is at http://004.e-connected.com/

If anyone can't help me identify this I would really appreciate it.
>
What are you, a masochist? Well, here's hoping this *doesn't* help...
>
>
I'm getting weirdnesses in both Opera and FF,
Not weird on Opera 8.51 on a Mac, nor FF 2.0.0.2 on Mac?
Quote:
but maybe my question
below and a bit of voodoo magic will make them go away ;-)
>
Do you really mean to have, say, 135px instead of 335px in
#middle { padding: 0 335px 0 60px; }?
>
You'll want to validate your source and CSS, too.
Not that there is nothing wrong...

--
dorayme
  #5  
Old March 1st, 2007, 10:25 AM
thehuby
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

It was Opera 9 and Windows XP.

I corrected the few CSS issues and that fixed the bug.

I actually tracked it down to the fact that I was including a CSS file
that didn't actually exist. No idea why that would cause the margin
issue on paragraphs but I have tested it and can replicate the issue
by including a non-existent style sheet.

Thanks for the feedback guys!

  #6  
Old March 1st, 2007, 12:15 PM
Andy Dingley
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

On 1 Mar, 00:19, "thehuby" <theh...@gmail.comwrote:
Quote:
I have a site that is having a strange issue in Opera.
I don't have an Opera to hand I'm afraid


But this:
Quote:
line-height: 1.5em;
concerns me on a rough initial template for a page that claims to be
"acccessible"

Why not just use line-height: 1.5; if you want some extra spacing?

  #7  
Old March 5th, 2007, 01:05 AM
the red dot
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue


"Andy Dingley" <dingbat@codesmiths.comwrote in message
news:1172750393.170435.249000@v33g2000cwv.googlegr oups.com...
Quote:
On 1 Mar, 00:19, "thehuby" <theh...@gmail.comwrote:
Quote:
I have a site that is having a strange issue in Opera.
>
I don't have an Opera to hand I'm afraid
>
>
But this:
>
Quote:
line-height: 1.5em;
>
concerns me on a rough initial template for a page that claims to be
"acccessible"
>
Why not just use line-height: 1.5; if you want some extra spacing?
>
ooh, (if you have the time/inclination) could you explain further why using
em for line-height is bad in regards to accesibility? tia as they say.


  #8  
Old March 5th, 2007, 02:05 AM
dorayme
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

In article <iaSdnfxo_qxL9HbYRVnyigA@eclipse.net.uk>,
"the red dot" <red@dot.spotwrote:
Quote:
"Andy Dingley" <dingbat@codesmiths.comwrote in message
news:1172750393.170435.249000@v33g2000cwv.googlegr oups.com...
Quote:
On 1 Mar, 00:19, "thehuby" <theh...@gmail.comwrote:
Quote:
I have a site that is having a strange issue in Opera.
I don't have an Opera to hand I'm afraid


But this:
Quote:
line-height: 1.5em;
concerns me on a rough initial template for a page that claims to be
"acccessible"

Why not just use line-height: 1.5; if you want some extra spacing?
>
ooh, (if you have the time/inclination) could you explain further why using
em for line-height is bad in regards to accesibility? tia as they say.
Yu could look at

<http://members.optushome.com.au/droovies/test/lineHeight.html>

for an example of the difference

--
dorayme
  #9  
Old March 5th, 2007, 10:35 AM
Roy A.
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

On 5 Mar, 02:52, dorayme <doraymeRidT...@optusnet.com.auwrote:
Quote:
In article <iaSdnfxo_qxL9HbYRVny...@eclipse.net.uk>,
"the red dot" <r...@dot.spotwrote:
>
>
>
Quote:
"Andy Dingley" <ding...@codesmiths.comwrote in message
news:1172750393.170435.249000@v33g2000cwv.googlegr oups.com...
Quote:
On 1 Mar, 00:19, "thehuby" <theh...@gmail.comwrote:
I have a site that is having a strange issue in Opera.
>
Quote:
Quote:
I don't have an Opera to hand I'm afraid
>
Quote:
Quote:
But this:
>
Quote:
Quote:
line-height: 1.5em;
>
Quote:
Quote:
concerns me on a rough initial template for a page that claims to be
"acccessible"
>
Quote:
Quote:
Why not just use line-height: 1.5; if you want some extra spacing?
>
Quote:
ooh, (if you have the time/inclination) could you explain further why using
em for line-height is bad in regards to accesibility? tia as they say.
>
Yu could look at
>
<http://members.optushome.com.au/droovies/test/lineHeight.html>
Try:

p.big {font-size: 200%; line-height: 1.2em}
p.small {font-size: 80%; line-height: 1.2em}

  #10  
Old March 5th, 2007, 11:35 AM
the red dot
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue


"dorayme" <doraymeRidThis@optusnet.com.auwrote in message
news:doraymeRidThis-2AFC7D.12524005032007@news-vip.optusnet.com.au...
Quote:
In article <iaSdnfxo_qxL9HbYRVnyigA@eclipse.net.uk>,
"the red dot" <red@dot.spotwrote:
>
Quote:
"Andy Dingley" <dingbat@codesmiths.comwrote in message
news:1172750393.170435.249000@v33g2000cwv.googlegr oups.com...
Quote:
On 1 Mar, 00:19, "thehuby" <theh...@gmail.comwrote:
I have a site that is having a strange issue in Opera.
>
I don't have an Opera to hand I'm afraid
>
>
But this:
>
line-height: 1.5em;
>
concerns me on a rough initial template for a page that claims to be
"acccessible"
>
Why not just use line-height: 1.5; if you want some extra spacing?
>
ooh, (if you have the time/inclination) could you explain further why
using
Quote:
Quote:
em for line-height is bad in regards to accesibility? tia as they say.
>
Yu could look at
>
<http://members.optushome.com.au/droovies/test/lineHeight.html>
>
for an example of the difference
>
--
aha as simple (and obvious) as that... cheers


  #11  
Old March 5th, 2007, 11:35 PM
dorayme
Guest
 
Posts: n/a
Default Re: Opera Paragraph Issue

In article
<1173090013.180825.175290@v33g2000cwv.googlegroups .com>,
"Roy A." <royarneskar@gmail.comwrote:
Quote:
Quote:
<http://members.optushome.com.au/droovies/test/lineHeight.html>
>
Try:
>
p.big {font-size: 200%; line-height: 1.2em}
p.small {font-size: 80%; line-height: 1.2em}
Why? Do you not know the purpose of me posting this to help OP?

--
dorayme
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles