473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Text box and image layering issue

http://www.nebraskaclothingcompany.com

I'm working on the website above. On Explorer everything looks great, but on Firefox and my Android the header image repeats about 100px to the right from the text.

How do I correct this?

Here is the code I used for that segment:

Expand|Select|Wrap|Line Numbers
  1. <div style="width:750px;height:200px;background:url(http://www.nebraskaclothingcompany.com/real.jpg);"><h1 style="width:100%; padding:20; padding-left:200; background:url(http://www.nebraskaclothingcompany.com/real.jpg);text-align:left;">N.C.C.<br><font size="5">Nebraska Clothing Company</font></h1></div>
  2.  
Dec 18 '11 #1
1 1678
drhowarddrfine
7,435 Expert 4TB
Never, ever use IE as a reference for how things should work. Inept at best, it's the worst browser on the planet. Always, always look to any other browser and get it to work there first. Then look at IE to see how badly it screws everything up. But the multitude of problems with IE are well known, as are the hacks to fix it.

You don't have a doctype so you are in quirks mode where you never want to be. Add this as your first line:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
Dec 18 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: matt tagliaferri | last post by:
We have remote users running MSDE entering information into a database. To send the data back to the home office, we've written some routines that export the data into SQL Scripts in text files: ...
1
by: Matthew White | last post by:
Hi - From a Javascript beginner: I'd like to display an image in a table cell, and in another cell have 3 or 4 checkboxes. Based on the boxes check, I would "overlay" images on top of the...
8
by: Chris | last post by:
I am unable display an image by percent. No matter what method I try, I receive the following error. Input string was not in the correct format. No matter what method I use, I cannot get this...
1
by: Tim Burda | last post by:
I am having some problems with getting an .gif file to display properly on an ASPX page. The image appears grainy and distorted. I have tried implementing the image (stored in several formats)...
2
by: Win, Pats | last post by:
Just wondering if anyone has ever seen a 3rd party component that facilitates the creation of text images. I know I can "roll my own" but was not wanting to reinvent the wheel. I searched...
8
by: Cardman | last post by:
I am hopeful that someone can quickly solve my image alignment issue when things are just not going right and where my attempts to solve this alignment issue have all failed. First of all take a...
1
by: rascalking | last post by:
Hello, So I've read many forums that explained how to get an image out of SQL Server database and display it. I used an alternate .aspx page to retrieve the image and write it back as binary...
1
by: dbee | last post by:
I'm try to generate a report that will span multiple pages and have dynamic content using python reportlab. I have no issues with regards to generating images and then using ...
2
by: studentofknowledge | last post by:
For some unknown reason ie is placing images I have in a div in a weird way. One image is overlapping another but this problem is not occuring in mozilla. I have looked at my code over and over again...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.