Business Advice and Help Forum for Businesses or Starting a Company in the UK - A1 Business Forums
corner image corner image
Member Box




corner image corner image
Our Advertisers

corner image corner image
Register FAQ Members List Today's Posts Search Today's Posts Mark Forums Read
A1 Business Blog Home
corner image corner image
A1businessforums.co.uk - The UK's Friendliest Online Business Community
Go Back   Business Forum UK - Advice Help and Questions - A1 Forums > Business Forums > Graphic Design, Web Design and Coding
Reload this Page

What am i doing wrong?

Designers Forum for Graphic, Logo or Print Design and Photography plus Website Design, Coding, Themes and Skins

Reply
Page 1 of 2 1 2 >
corner image corner image
 
LinkBack Thread Tools Search this Thread Display Modes

corner image corner image
  #1 (permalink)  
Old 10-07-2008, 02:16
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
Default What am i doing wrong?

OK, im trying to create CPS 2.0 - less tables, more css, more SEO blah blah blah blah

Basically, what am i doing wrong - shows up perfectly in IE but not in FF

Image: http://cpsdirect.co.uk/stupid_firefox.png
CSS:
Code:
body
{
 margin: 0 0 0 0;
}
#header
{
 width:100% !important;
 height:165px !important;
 top:0;
 display: block;
}
#logo
{
 float: left;
 top:0;
 width:160px;
 height:160px;
 border:none;
 margin-top:5px;
 margin-left:3px;
}
#search_bar
{
 background: url(images/search_bar_background.png) repeat-x scroll top;
 height: 65px !important;
 min-height: 65px;
 width: 100%;
 text-align: center;
 top: 165px;
 display: block;
}
#search_form
{
 width:60% !important;
 height:25px !important;
 display: block;
 margin-top:20px;
}
.search_term
{
 background: White url(images/search_textbox_background.png) no-repeat scroll top;
 border: none;
 height: 17px !important;
 width: 373px;
 font: normal normal normal 14px/normal Arial, Helvetica, sans-serif;
 color: Gray;
 padding-top: 4px;
 padding-left: 7px;
}
#shopping_trolley
{
 background: transparent url(images/shopping_trolley_header.png) no-repeat scroll top;
 width: 247px !important;
 margin-top:5px;
 height: 120px;
 overflow: hidden;
 float: right;
 top: 10px;
 padding-top: 35px;
 padding-left: 10px;
 font: normal normal normal 11px/normal Arial, Helvetica, sans-serif;
 letter-spacing: 1px;
 color: #555666; 
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
Sponsored Links

Register to remove these ads
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
corner image corner image
  #2 (permalink)  
Old 10-07-2008, 02:18
IP2 IP2 is offline
Banned
 
Join Date: May 2008
Location: Kent
Posts: 1,140
Thanks: 77
Thanked 355 Times in 235 Posts
Quote:
what am i doing wrong?
Working too late... sleep on it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
IP2
View Public Profile
Find all posts by IP2
corner image corner image
  #3 (permalink)  
Old 10-07-2008, 02:18
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
HTML:
Code:
<div id="header">
<div id="logo">
<img src="images/logo.png" style="border:none;"/>
</div>
<div id="shopping_trolley">
You have <b>0</b> items in your shopping trolley
</div>
<div id="search_bar">
<div id="search_form">
<form action="SimpleSearch.aspx" method="get" name="SiteSearch">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td><input type="text" name="q" accesskey="s" class="search_term" /></td>
<td><input type="image" name="searchSubmit" src="images/search_submit.png" alt="" class="search_submit"/></td>
</tr>
</table>
</form>
</div>
</div>
</div>
TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
corner image corner image
  #4 (permalink)  
Old 10-07-2008, 15:27
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
Anyone????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
corner image corner image
  #5 (permalink)  
Old 10-07-2008, 15:30
Mike's Avatar
Mike Mike is offline
Blog Entry: New Organiclinker.com bookstore
I Live on A1!
 
Join Date: May 2008
Posts: 707
Thanks: 85
Thanked 103 Times in 90 Posts
its probably a float clearance problem

try adding something like
Code:
<div style="clear:both" ></div >
after
Code:
<div id="logo">
<img src="images/logo.png" style="border:none;"/>
</div>
__________________
----
Organic and Eco Directory
Jobs in Swindon
www.sharpsbooks.co.uk

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to Mike For This Useful Post:
HuggyBear (10-07-2008)
Mike
View Public Profile
Send a private message to Mike
Find all posts by Mike
corner image corner image
  #6 (permalink)  
Old 10-07-2008, 15:46
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
[image deleted]
Its done something, but still wrong :S

Last edited by HuggyBear; 10-07-2008 at 22:16.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
corner image corner image
  #7 (permalink)  
Old 10-07-2008, 22:15
tommy's Avatar
tommy tommy is offline
Blog Entry: CSS - repeating background images
A1 is my Second Home!
 
Join Date: Mar 2008
Location: Essex
Posts: 359
Thanks: 43
Thanked 86 Times in 78 Posts
right here goes.

Mike was on the right track but you can do this in the CSS without creating an unnecessary <div> element.

within the #search_bar in your css add the following:
Code:
clear:both;
This will make the search bar move below the logo and the basket.

Then remove the added <div style="clear:both" ></div >

Do this first then we can get onto the next step.
__________________
Essex web developer & designer
Townhouse holiday home to rent in La Zenia, south of Torrevieja
HTML Source - for all your XHTML & CSS needs
Latest client - Carry a Bag - Give your hands a helping hand
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to tommy For This Useful Post:
HuggyBear (10-07-2008)
tommy
View Public Profile
Send a private message to tommy
Visit tommy's homepage!
Find all posts by tommy
corner image corner image
  #8 (permalink)  
Old 10-07-2008, 22:18
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
Hey man, thanks, I forgot to mention I managed to sort it - here is the new CSS (i added the div in code but added it after trolley div

Quote:
body
{
margin: 0 0 0 0;
}
#header
{
width:100% !important;
height:165px !important;
top:0;
display: block;
}
#logo
{
float: left;
top:0;
width:160px;
height:160px;
border:none;
margin-top:5px;
margin-left:3px;
display:block;
}
#search_bar
{
background: url(images/search_bar_background.png) repeat-x scroll top;
height: 65px !important;
min-height: 65px;
width: 100%;
text-align: center;
margin-top: 0
px;
display: block;
}
#search_form
{

height:25px !important;
display: inline-block;
margin-top:0px;
margin-left:auto;
margin-right:auto;
padding-top:20px;
width: 400px;
}
.search_term
{
background: White url(images/search_textbox_background.png) no-repeat scroll top;
border: none;
height: 17px !important;
width: 373px;
font: normal normal normal 14px/normal Arial, Helvetica, sans-serif;
color: Gray;
padding-top: 4px;
padding-left: 7px;
vertical-align:middle;
}
#shopping_trolley
{
background: transparent url(images/shopping_trolley_header.png) no-repeat scroll top;
width: 247px !important;
margin-top:8px;
height: 120px;
overflow: hidden;
float: right;
margin-right:3px;
padding-top: 35px;
padding-left: 10px;
font: normal normal normal 11px/normal Arial, Helvetica, sans-serif;
letter-spacing: 1px;
color: #555666;
display:block;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
corner image corner image
  #9 (permalink)  
Old 10-07-2008, 22:21
tommy's Avatar
tommy tommy is offline
Blog Entry: CSS - repeating background images
A1 is my Second Home!
 
Join Date: Mar 2008
Location: Essex
Posts: 359
Thanks: 43
Thanked 86 Times in 78 Posts
cool, just double check IE6 as you may have some issues with overflows as I notice you use they quite a bit.
__________________
Essex web developer & designer
Townhouse holiday home to rent in La Zenia, south of Torrevieja
HTML Source - for all your XHTML & CSS needs
Latest client - Carry a Bag - Give your hands a helping hand
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
corner image corner image
The Following User Says Thank You to tommy For This Useful Post:
HuggyBear (10-07-2008)
tommy
View Public Profile
Send a private message to tommy
Visit tommy's homepage!
Find all posts by tommy
corner image corner image
  #10 (permalink)  
Old 10-07-2008, 22:23
HuggyBear's Avatar
HuggyBear HuggyBear is offline
I Live on A1!
 
Join Date: May 2008
Location: Darlington
Posts: 602
Thanks: 104
Thanked 84 Times in 78 Posts
good point really need to install virtual pc or some other virtualisation software installed to test on multiple browsers....

And with IE8 around the corner, it boggles why so many people are still on IE6...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Google Bookmark this Post!
Reply With Quote
HuggyBear
View Public Profile
Send a private message to HuggyBear
Visit HuggyBear's homepage!
Find all posts by HuggyBear
Reply
Page 1 of 2 1 2 >

« Another flash question | Dynamic content on my site »

corner image corner image
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread:

Advanced Search
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

corner image corner image
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

corner image corner image
Similar Threads
Thread Thread Starter Forum Replies Last Post
Your stupid if you pick the wrong domain Alvin SEO Advice and Help for Search Engine Optimisation 35 19-07-2008 15:06
Link Strategies - is this wrong? PI Guy SEO Advice and Help for Search Engine Optimisation 18 15-06-2008 13:47
Whats wrong with this digital art render? Calibre Designs Graphic Design, Web Design and Coding 25 02-06-2008 16:07


All times are GMT +1. The time now is 06:48.


Calendar - Contact Us - A1 Business Forum UK - Archive - Top

© A1 Business Forums 2008

Pixelcraze
Forum theme a Pixelcraze Creation





LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!
Share on Facebook Share on Facebook
Stumble this Thread Stumble this Thread