wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60794
    
  65

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: 60794
    
  65

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
 
Similar Threads
Changing Writer File Name
HF book pg133 ~ setHeader("content-type")
local encodings in servlets outputs
Custom HTMLEditorKit - to create paginated HTML file
How do I send HTML mail?