Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Problems lining up design in HTML


Problems lining up design in HTML

Reply
  #1 (permalink)  
Old 06-02-07, 12:20 AM
Heidenreich12 Heidenreich12 is offline
Newbie Coder
 
Join Date: Aug 2005
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Problems lining up design in HTML

I need to get this done, but can't get things to line up right in IE6. I had it all perfect in Firefox, but the person i'm doing it for wants it to look good in IE6 and I am having a hell of a time getting it to work.

http://clan-geno.net

stylesheet is located at:

http://clan-geno.net/style.css


Would really appreciate any help.
__________________
http://ezgraphicstudio.com
Reply With Quote
  #2 (permalink)  
Old 06-03-07, 04:12 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
To tell you the truth, it isn't working in Firefox either.
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Reply With Quote
  #3 (permalink)  
Old 06-03-07, 05:30 PM
Heidenreich12 Heidenreich12 is offline
Newbie Coder
 
Join Date: Aug 2005
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sushi4664 View Post
To tell you the truth, it isn't working in Firefox either.
it was working in firefox until i started messing with it to get it to work in IE6. All they want is it to work in IE6, so thats all i figure i'll give them.
__________________
http://ezgraphicstudio.com
Reply With Quote
  #4 (permalink)  
Old 06-04-07, 05:20 AM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
If they asked me to "make it only work in IE6", I wouldn't even know how to do it. I'm so used to working with FF to develop a template, that it would be a big drag to make it only for IE6.
__________________
Jack Bauer makes Chuck Norris cry
Reply With Quote
  #5 (permalink)  
Old 06-04-07, 12:24 PM
cazabam cazabam is offline
Newbie Coder
 
Join Date: Jun 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
The easiest way is to replace:

Code:
Name: <input name="test"></input>
<br />
Password: <input name="testing"></input>
with

Code:
<div>Name: <input name="test"></input></div>
<div>Password: <input name="testing"></input></div>
You might need to adjust the margin and padding of the <div> tags but it's basically there.
Reply With Quote
  #6 (permalink)  
Old 06-04-07, 03:27 PM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
Sometimes I doubt my own skills as a webprogrammer. When I see some people's code, it makes me think I missed latest developments. However, this is the first time ever I've seen <input></input>.

Isn't it rather <input /> ?

Perhaps you're confusing with this other type: <button></button>
__________________
Jack Bauer makes Chuck Norris cry
Reply With Quote
  #7 (permalink)  
Old 06-04-07, 06:29 PM
sushi4664's Avatar
sushi4664 sushi4664 is offline
Aspiring Coder
 
Join Date: Apr 2007
Location: USA
Posts: 411
Thanks: 0
Thanked 0 Times in 0 Posts
Vicious is right...so the code that cazabam had should be:
HTML Code:
    <div>Name: <input name="test" /></div><div>Password: <input name="testing" /></div>
__________________
- sushi
Visit http://napkinz.com/index.php - web comic that is update weekly

-ps: got through the archive...there are really funny comics in there....
Reply With Quote
  #8 (permalink)  
Old 06-05-07, 01:43 AM
cazabam cazabam is offline
Newbie Coder
 
Join Date: Jun 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sushi4664 View Post
Vicious is right...so the code that cazabam had should be:
HTML Code:
    <div>Name: <input name="test" /></div><div>Password: <input name="testing" /></div>
The <input></input> thing was copy/pasted from the HTML of the actual site - I just added <div> tags round it. They are the important bit, so I didn't bother "fixing" the other HTML.

It's perfectly allowable (although a little weird) to have the full tag, though. You can have <br></br> if you want, but I don't think anybody would

Last edited by cazabam; 06-05-07 at 01:48 AM.
Reply With Quote
  #9 (permalink)  
Old 06-05-07, 04:15 AM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, according to the XML specifications, <input></input> is correct.
But I'm not so sure it's correct (X)HTML though. Anyway, it's besides the point
__________________
Jack Bauer makes Chuck Norris cry
Reply With Quote
  #10 (permalink)  
Old 06-05-07, 04:58 AM
cazabam cazabam is offline
Newbie Coder
 
Join Date: Jun 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
<input></input> validates as correct XHTML1.0, but does not validate as correct HTML 4. This is because XHTML1 uses XML rules for tags, which does explicitly allow either <tag></tag> or <tag/>.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html tutoral thefrtman HTML/XHTML/XML 5 04-27-09 10:25 AM
please help html problems khaleel HTML/XHTML/XML 1 10-21-05 03:43 AM
Need website design or HTML coding help? website_help HTML/XHTML/XML 0 05-26-05 12:07 PM
HTML Designer *(FREE DESIGN) JRH13NJ General Advertisements 0 12-18-04 04:58 PM
Need Someone who is good with HTML design JJSmallballer Job Offers & Assistance 0 11-19-03 09:20 PM


All times are GMT -5. The time now is 08:56 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.