external stylesheet doesn't display right

This is a discussion on "external stylesheet doesn't display right" within the Web Page Design section. This forum, and the thread "external stylesheet doesn't display right are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 18th, 2006, 15:31
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
external stylesheet doesn't display right

Hi guys,
I am very new to web design and foolishly promised a friend to polish up his website. I have successfully mastered text changes and smaller things, but got a problem with replacing an image on the website that is encorporated in the external css file. When I first went onto the ftp server of the existing website I couldn't find the "main" html file (you know the one you get when right click - view page source). Every page is in php with a global stylesheet for the graphical display. In order to get my css changes to display, I have created this "main" html file myself by pasting the code into notepad. I completed my changes in css and there were also some changes to make to the "main" html file in order to get everything displayed as I wanted to. When I then copied the new css file onto the server, it was displayed in a weird way with a menu box 20px higher than it should be (although it had been fine when I tested it offline). As on the server there is no "main" html file, I don't know what to do. How on earth did the original developers get the spreadsheet right if that file is missing??? Where is that file? Please please help me, because I have promised that friend that I could get it done. THANK YOU SO MUCH!

Last edited by Irvy; Dec 18th, 2006 at 15:35.
Reply With Quote

  #2 (permalink)  
Old Dec 18th, 2006, 15:47
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: external stylesheet doesn't display right

post a link please
Reply With Quote
  #3 (permalink)  
Old Dec 18th, 2006, 15:48
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: external stylesheet doesn't display right

Not quite sure what you are getting at here. I think there is some confusion.

There is no such thing as a "main" file. When you right click on any page in a browser and select 'View source', that is something the browser takes care of. It doesn't fetch anything different from the server which is what you seem to be suggesting.

Images are not incorporated in any css file, external or otherwise. You can make reference to the location of an image for attributes such as 'background-image'

I think you need to rethink what it is you are trying to ask and if possible provide a link to the problem page.
Reply With Quote
  #4 (permalink)  
Old Dec 18th, 2006, 15:49
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: external stylesheet doesn't display right

http://www.realrunners.co.uk/

see that it is all messed up. there is a folder called "includes" on the server that includes htlm files about the header (and the pic and the menu are part of the header). maybe it's that? dunno!
Reply With Quote
  #5 (permalink)  
Old Dec 18th, 2006, 15:51
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: external stylesheet doesn't display right

AND in IE the menu box is displayed in a different location compared to Firefox
Reply With Quote
  #6 (permalink)  
Old Dec 18th, 2006, 15:54
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: external stylesheet doesn't display right

messed up?? i dont get it.....
Reply With Quote
  #7 (permalink)  
Old Dec 18th, 2006, 15:55
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: external stylesheet doesn't display right

thanks Geoff. The problem is that I don't know myself. The little I know is that I thought that every website had a thing like a "main" html file - basically the file that you write when building the site. Or am I wrong? In this case here: there is the text all in php files and the outer frame is taken care of by the css file. That is what I have understood. From my very very beginner knowledge I thought I would find an html file somewhere but I didn't. Sorry about my untechy and unprecise language.
Reply With Quote
  #8 (permalink)  
Old Dec 18th, 2006, 15:57
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: external stylesheet doesn't display right

don;t you see how horrible the display is Chubbs? how the big top image is displayed and the menu box? what is it that you don't get?
Reply With Quote
  #9 (permalink)  
Old Dec 18th, 2006, 16:10
New Member
Join Date: Dec 2006
Location: London
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: external stylesheet doesn't display right

oh.. i figured it out just in this moment.... though in Mozilla it doesn't display as nicely as in IE. Wonder why?
Reply With Quote
  #10 (permalink)  
Old Dec 18th, 2006, 16:59
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: external stylesheet doesn't display right

Having looked the site, there a couple of css tweaks the could be made so that the site renders the same in Firefox and IE.

I can see nothing about the site that obviously suggests itself as to why these pages have the .php extension. They look as if they could just as well have had the .html extention.

Do you know of any server side processing that warrents them being php files?

I note that the header image is not shown to its full height in either Firefox or IE but this might have been a diliberate choice.

I don't want to sound unkind but are you out of your depth and is it time to tell your friend that you can't do it after all?
Reply With Quote
  #11 (permalink)  
Old Dec 18th, 2006, 19:41
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to chubbs Send a message via Skype™ to chubbs
Re: external stylesheet doesn't display right

im using Opera...it looks ok to me
Reply With Quote
Reply

Tags
css

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional IF in external stylesheet AdRock Web Page Design 6 Sep 23rd, 2007 22:45
Two javascripts. One page. One external Stylesheet. BIG problem. So amateur. laundromat1967 JavaScript Forum 1 Aug 23rd, 2007 22:23
Vanishing stylesheet galan98 Web Page Design 6 Jul 9th, 2007 15:48
Possible to detect which stylesheet in use? mar2195 JavaScript Forum 9 Nov 25th, 2006 11:43
Defaulting my stylesheet dudester123 Web Page Design 2 Sep 10th, 2006 20:45


All times are GMT. The time now is 00:21.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43