12 replies [Last post]
drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

Hi ... hope this is the right place for this posting. Am a newbie, prone to mistakes. Q: won't accept vertical-align: middle AND seems to want a blank line below . I really don't know how else to express what appears to be happing. Been through several books, faqs and such, but resolution. Perhaps I'm not asking the question correctly. Help!!! drgeorgep

drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

Oops, let's try that again ....

Hi ... hope this is the right place for this posting. Am a newbie, prone to mistakes. Q: header-1 won't accept vertical-align: middle AND seems to want a blank line below it. I really don't know how else to express what appears to be happing. Been through several books, faqs and such, but resolution. Perhaps I'm not asking the question correctly. Help!!! drgeorgep http://csscreator.com/files/smilies/mad.gif
:mad: Apologies for the goof up in initial posting.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 2 years 18 weeks ago
A hilly place, UK
Timezone: GMT+1
Joined: 2004-02-05
Posts: 2902
Points: 0

We could do with a link to

We could do with a link to see what you are doing

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 2 days 6 hours ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15664
Points: 2802

And the goof up in the

And the goof up in the second Laughing out loud

We really need more info than you have supplied, but you can try working with line-height = to the height of your heading element which will center the text vertically.

Vertical-align is only for table elements or inline elements.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

Of course ....

Hi ... thanks for your quick response. Am thick about css and such things. Here's the link http://www.grubstreet.ca/gs.css. My first attempt at css and just starting. Thanks.

drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

Hi ... thanks for your quick

Hi ... thanks for your quick response. Am think about css and such things. Here's the link http://www.grubstreet.ca/gs.css. I seemed to have lucked-in with the line-height, it's the darn space before the hearder-1 that has me stuck. My first attempt at css and just starting. Thanks.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 2 days 6 hours ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15664
Points: 2802

Have you accounted for

Have you accounted for margins?

And link to the page rather than the CSS file which we can always find.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

Header-1 Problems ...

Hi ... page is http://www.grubstreet.ca. I want to use header-1 for the Sis Boom Bah entry, 12 pt bold. When I use header-1, it places a blank line below the entry. Manage to get the rest of this very basic design right, but can't figure out how to get rid of the blank line. Thanks for all ideas. drgeorgep

thepineapplehead
thepineapplehead's picture
Offline
Guru
Milton Keynes
Last seen: 11 weeks 18 hours ago
Milton Keynes
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

I don't see any <h1> tags

I don't see any <h1> tags anywhere.

I also don't see a DOCTYPE.

Verschwindende wrote:
  • CSS doesn't make pies

drgeorgep
Offline
newbie
Ottawa, Canada
Last seen: 7 years 18 weeks ago
Ottawa, Canada
Joined: 2007-06-15
Posts: 6
Points: 0

More on <h1

Hi ... thanks for your message. Right, no header-1 'cause can't get it work properly, as outlined in earlier postings. Won't use it, if it's going screw up the whole page, which it does with the mystery blank line below it. I know it's a header and such, but I was able to alter all over elements: why not this one.

What's DOCTYPE?

Thanks.

Smee
Smee's picture
Offline
Elder
Adelaide, Oz
Last seen: 1 year 43 weeks ago
Adelaide, Oz
Timezone: GMT+10.5
Joined: 2007-06-10
Posts: 1596
Points: 340

Ooeeerk!!

Quote:
What's DOCTYPE?

Go to the HOW TO forum, read the sticky
DocTypes: HTML or XHTML, Which is best ?
...read it....then DO it!

http://csscreator.com/node/8878

I'm new here too but believe me you do not want TPH, or any other mod for that matter, to see that last question!!

Quick! Time's running out!

Mods and gurus – THANK YOU!
For your time, knowledge and experience so willingly and generously given.
Please come back tomorrow and sort us all out again Smile

thepineapplehead
thepineapplehead's picture
Offline
Guru
Milton Keynes
Last seen: 11 weeks 18 hours ago
Milton Keynes
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9668
Points: 801

The mystery blank line is

The mystery blank line is most probably the bottom margin, but because you removed it from the page, we can't check.

And how on Earth did you miss the ALL CAPS MESSAGE at the top of EVERY FORUM called DOCTYPES ARE IMPORTANT PLEASE USE THEM???

http://csscreator.com/node/18217

Verschwindende wrote:
  • CSS doesn't make pies

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 2 days 6 hours ago
London
Timezone: GMT+1
Joined: 2004-06-06
Posts: 15664
Points: 2802

[quote Hugo]Have you

Hugo wrote:
Have you accounted for margins?

But it clearly received no attention and consequently no answer, breath wasted :shrug: me does wonder sometimes!

We like to try and help but it is very much a two way street.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me