Irish SEO,  Marketing & Webmaster Discussion

 

CSS issue

This is a discussion on CSS issue within the Coding Help forums, part of the Webmaster Help category; Been battling with some code over the past while - and I literally am just trying to prove to a ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-01-2007, 11:15 AM
ph3n0m's Avatar
Webmonkey
Recent Blog: Show and click
 
Join Date: Jan 2006
Location: Ireland
Posts: 300
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Thumbs up CSS issue

Been battling with some code over the past while - and I literally am just trying to prove to a client that it wont work the way they envision

Site has logo/navigation on top, side nav & content underneath and footer last - as indicated by the crappy image

My question is: can anyone see how it is possible to create the page in such a way that on lower resolutions that div containing the background image (of width 420px) would partially hide the image (say at 800 x 600) and show more/all of it at the higher res.

I have tried a couple of ways but either way it results in the image being forced onto a new line - or scrolling off to the right.

Oh and the kicker is keep in mind that above search form 1 and 2 there is an item of navigation that must remain the same width as the search forms below
Attached Images
File Type: gif basiclayout.gif (3.9 KB, 14 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 30-01-2007, 01:19 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

Could be your lucky day. Think I was doing something similar if I understood you correctly. Give me a minute to upload some files... it's still in progress.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 30-01-2007, 01:33 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

Ok, have a look at www.gprfinance.com/temp/

It's a work in progress so don't mind the incomplete work. The "swoosh" in the top right is put in the background so that it is visible at 1024 width and greater but pretty much hidden at 800x600. The css doing it is:

background: url(../img/swoosh.gif) no-repeat 738px 1px #FFFAF0;

and that's in the body tag. If you did the same and offset the background image, you might be able to pull off the same effect.

I hope that helps but let me know if you have any other questions.

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 30-01-2007, 01:47 PM
ph3n0m's Avatar
Webmonkey
Recent Blog: Show and click
 
Join Date: Jan 2006
Location: Ireland
Posts: 300
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Default

first of all - nice design

Yes and no is the answer - that is what I would intend to do - the problem is that the image is also tied into two divs above that, that have to expand and contract based on resolution - and that the edge of the right most div should not exceed the edge of the image

Kind of like this - if you can visualise this:
___________
|nav3|nav4|
|image---->|
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 30-01-2007, 01:49 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

have you got a design concept I can see? I can usually work out a css layout from an actual concept. A little bit difficult to visualise!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 30-01-2007, 01:54 PM
ph3n0m's Avatar
Webmonkey
Recent Blog: Show and click
 
Join Date: Jan 2006
Location: Ireland
Posts: 300
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Default

http://www.vertigoproductions.biz/amergin/

keep in mind that the image I am talking about is the black and white one
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 30-01-2007, 02:07 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

ok, so at 800x600, you want to cut off the black and white image and have no horizontal scroll bar? And at a higher resolution, just show the entire image?

Then, at a higher resolution, the nav's should only stretch as far as the edge of the image, i.e. they shouldn't stretch any further?

Have I understood that correctly?!?

p.s. this is why I like working with fixed width websites!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 30-01-2007, 02:16 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

Try this:

.welcome_home {
background:transparent url(images/welcome_home.jpg) no-repeat scroll 0%;
border-left:2px solid #FFFFFF;
display:block;
height:455px;
overflow:hidden;
margin-right:1%;
}


.residential, .commercial, .overseas, .mortgages {
border-left:2px solid #FFFFFF;
font-size:150%;
font-weight:bold;
height:95px;
padding-left:5px;
padding-top:11px;
text-align:left;
width:20.3%;
max-width:204px;
}

How does that work? Is it on the right lines? It seems to be working in FF for me like that!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 30-01-2007, 04:04 PM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

any joy?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 30-01-2007, 04:40 PM
ph3n0m's Avatar
Webmonkey
Recent Blog: Show and click
 
Join Date: Jan 2006
Location: Ireland
Posts: 300
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ph3n0m will become famous soon enough
Default

sort of, kind of - still working on it

if all else fails I will do something radical - like kill the designer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, issue

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Inheritance + CSS fobby HTML Basics 14 20-01-2007 08:16 PM
CSS Issue for Wordpress Menu.. Cormac Coding Help 4 03-12-2006 03:12 PM
How to make a H1 tag in CSS into a link shanediffily Coding Help 4 10-10-2006 04:54 PM
WP: WYSIWYG url issue Cormac Blogs & Blogging 4 01-09-2006 09:46 AM
Domain Transfer Issue fieldcorbett Domains and domaining 1 03-04-2006 06:55 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 05:05 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0