Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Align a Heading and a Hyperlink in a single row
(1 viewing) (1) Guest
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

Align a Heading and a Hyperlink in a single row

Align a Heading and a Hyperlink in a single row 1 year, 4 months ago #412

  • kate
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
How to align a heading and a hyperlink or an image or some text in the same row (without using tables)?

Re: Align a Heading and a Hyperlink in a single row 1 year, 4 months ago #414

  • shama
  • OFFLINE
  • Senior Boarder
  • Posts: 63
  • Karma: 0
We will use h1 tag css like this h1 {float:left; width:auto;} then a {float:left; width:auto;}
We need to write width:auto; because both "h1" and "a" take 100 of width amount.
  • Page:
  • 1
Time to create page: 1.22 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download