aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Header in HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Header in HTML" Watch "Header in HTML" New topic
Author

Header in HTML

sana shah
Greenhorn

Joined: Jul 14, 2011
Posts: 10
I want to put a header on my HTMLl page in the attached format.

How can I achieve this using Pure HTML?



[Thumbnail for header.png]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

You can't with "pure" HTML; you'll need CSS too.

Where's your code so far?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sana shah
Greenhorn

Joined: Jul 14, 2011
Posts: 10
Can you please provide the css code for the same.

<h2> Welcome </h2>

.h1{
font: 14px Verdana;
color: #CC3333;
font-weight: bold;
}

I dont have an idea about how to draw a line around header.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61216
    
  66

That's not how things work here. We'll help you with code but won't do your work for you. What have you considered doing to achieve the horizontal line?

Hint: one way lines are achieved by using variants of border.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Header in HTML