Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6599081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:26:35+00:00 2026-05-25T18:26:35+00:00

I have this HTML which I’m working on: <!DOCTYPE html> <html lang=en> <head> <meta

  • 0

I have this HTML which I’m working on:

  <!DOCTYPE html>
  <html lang="en">
  <head>
      <meta charset="utf-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
      <title>templates</title>
      <meta name="description" content="" />
      <meta name="author" content="wobben" />
      <meta name="viewport" content="width=device-width; initial-scale=1.0" />
      <link rel="shortcut icon" href="/favicon.ico" />
      <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
      <link rel="stylesheet" href=styles.css"> 
 </head>
 <body>
   <div id="container">
       <header>
           <img src="http://www.tamarawobben.nl/images/3.jpg" alt="" width="750" height="225" />
       </header>
       <nav>
           <p><a href="/">Home</a></p>
           <p><a href="/contact">Contact</a></p>
       </nav>
      <footer>
        <p>&copy; Copyright  by wobben</p>
     </footer>
 </div>
 </body>
 </html>

In the old CSS, the name of the header would be #header. Is that still that way. I’m asking because he image is on another place then the old html4 code.


I did change everything but still no luck.

I have this as html :

<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <title></title>
 <meta name="description" content="">
 <meta name="author" content="">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 <link rel="stylesheet" href="style.css">
 <script src="/js/modernizr-2.0.6.min.js"></script>
 </head>
 <body>
 <div id="container">
     <header>
        <img src="http://www.tamarawobben.nl/images/3.jpg" alt="" width="750" height="225" />
 </header>

And I have this in my css :

  header {display: block; height: 225px; width: 758px; margin: 0 1px 10px 1px; background: #fff;}
  #container {
width: 760px;
margin: 10px auto;
padding: 1px 0;
text-align: left;
background: #fff;
color: #303030;
   }

But still the image is on the left side instead of centered.

Can anyone help me once again.

Roelof

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:26:36+00:00Added an answer on May 25, 2026 at 6:26 pm

    If you want to use the new HTML5 tags while also supporting older browsers, you really need to be using Modernizr. It will help your page handle the newer tags and degrade gracefully on browsers that don’t support CSS3.

    Read this article for a good explanation: http://www.alistapart.com/articles/taking-advantage-of-html5-and-css3-with-modernizr/

    To directly answer your question, use the syntax that Jason gave:

    header { display: block; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this HTML from which I have to extract data: <html> <head></head> <body>
I have this html page which is very simple, it contains a text box
I have this html form which has options: <tr> <td width=30 height=35><font size=3>*List:</td> <td
I have used this in my HTML: <q> Hai How r u </q> Which
I have a site, from which you can download an HTML file. This HTML
I have a composite control which emits HTML that looks like this <span id=myControl>
I have this html which is an output by php. ... ... <tr valign='top'>
I have this html page which globally exists of div , section , and
Suppose I have this sort of HTML from which I need to select text2
I have this html structure: <div id=home> <div class=section_header> <h1 class=left data-target=newest><?=lang('home_newest');?></h1> ... </div>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.