Go to Post One key, esspecialy for newer teams, is to understand that the game rule book and design requirements are requirements, not suggestions. - Chris Fultz [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-04-2004, 13:20
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Arggg stupid css design.....

Im working on a css website and none of the functions are working. I validated that the information is right and the Version of internet explorer I am using is 6.0. In fact the only place that the CSS is being recognized in is Microsoft FrontPage in normal view and not preview. What is wrong?
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #2   Spotlight this post!  
Unread 21-04-2004, 13:32
D.J. Fluck
 
Posts: n/a
Re: Arggg stupid css design.....

Your first problem is FrontPage


I absolutely hate using front page because of all the stupid Microsoft rules and limits they require you to use. It might take you a lot longer, but I'd probably hardcode with notepad...thats usually what I do first. If you want an HTML editor, I'd reccomend getting your hands on a copy of Macromedia Dreamwaver. I use dreamweaver for all my webstuff and it's fairly easy to use and learn.
  #3   Spotlight this post!  
Unread 21-04-2004, 13:34
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: Arggg stupid css design.....

I am handcoding it. The only thing that will actually recognize my css is Frontpage. Internet Explorer simply refuses to. I wonder if it has anything to do with my school's computer. Its really really freaky.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #4   Spotlight this post!  
Unread 21-04-2004, 13:41
D.J. Fluck
 
Posts: n/a
Re: Arggg stupid css design.....

Quote:
Originally Posted by Adam Y.
I am handcoding it. The only thing that will actually recognize my css is Frontpage. Internet Explorer simply refuses to. I wonder if it has anything to do with my school's computer. Its really really freaky.
Copy the code here and ill take a look at it...and if you are using external CSS, show that page and the .html file
  #5   Spotlight this post!  
Unread 21-04-2004, 15:43
LauraN's Avatar
LauraN LauraN is offline
Holder of the Missile Keys
FRC #0097 (RoboRuminants)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: New Jersey
Posts: 96
LauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to behold
Send a message via AIM to LauraN
Re: Arggg stupid css design.....

Quote:
Originally Posted by Adam Y.
Im working on a css website and none of the functions are working. I validated that the information is right and the Version of internet explorer I am using is 6.0. In fact the only place that the CSS is being recognized in is Microsoft FrontPage in normal view and not preview. What is wrong?
I've had serious problems with css in the past. This may sound crazy, but it's possible your computer isn't recognizing the file extension. I've had problems with this- even with relatively new computers that have fairly new software. If it's an external file, try placing the code inside the <head></head> commands of the page. If that works, it may just be the computer/OS/software- ie, things outside your control. If not, you probably forgot like one semicolon somwhere that's screwing it up. =)

I'll take a look too if you post it.

And what DJ Fluck said-I applaud your handcoding. Never use FrontPage!! (not that we don't all love Microsoft...)
__________________
-Laura Nicholson
Team 97 (RoboRuminants) Mentor
Team 30 (FURY) Alumna
  #6   Spotlight this post!  
Unread 21-04-2004, 18:33
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: Arggg stupid css design.....

Chances are that you made a really small syntax error in your HTML code's link, or possibly (but unlikely) in the CSS file itself. FrontPage (and IE) tends to be very forgiving of mistakes or bad code, which is why this is probably the case.

If you have this page uploaded on a web server, I'd be happy to take a look. It's likely that the problem lies in your <link> or <style> tags, or their attributes though, so double-check them first.
__________________

  #7   Spotlight this post!  
Unread 21-04-2004, 18:47
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: Arggg stupid css design.....

Personally, I think you should try to see if Netscape, Mozilla, or a browser of that sort can view the page also. IE isn't very friendly on reading CSS files I believe.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #8   Spotlight this post!  
Unread 21-04-2004, 20:14
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: Arggg stupid css design.....

I second the motion to have you show us the code.
  #9   Spotlight this post!  
Unread 21-04-2004, 20:26
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: Arggg stupid css design.....

Quote:
And what DJ Fluck said-I applaud your handcoding. Never use FrontPage!! (not that we don't all love Microsoft...)
I was handcoding it. But goosh darn it there is something wrong with my school's computers. It simply does not display the fact that there is any css. The only program that actually displayed my css was Frontpage?? There is no errors as I checked on a validator because I couldn't figure out what was happening. It works on my computer now. Could it be the fact that I was using Microsoft Word to type it and not notepad?? Sorry I did not post this sooner I feel asleep.

PHP Code:
<html>
<
head>
<
style type="text/css">
body {background-color:blackwidth:800pxheight:600px;}
.
rightnavbar {width:150pxheight:200pxborder-style:ridgeposition:absoluteleft:0pxtop:70px}
.
topnavbar {width:800pxheight:68pxposition:absoluteleft:0pxtop:0pxborder-style:ridge}
</
style>
</
head>
<
body>
<
table class="topnavbar">
hello
</table>
<
table class="rightnavbar"
work dam u work
</table>
</
body>
</
html
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill

Last edited by Adam Y. : 21-04-2004 at 20:45.
  #10   Spotlight this post!  
Unread 21-04-2004, 21:52
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Arggg stupid css design.....

Hello,

Good job with the hardcoding! What text editor are u using? (If you say vi or notepad, I will adore you, living in the dark ages before syntax highlighting).

CSS tends to be very... interesting when coupled with Frontpage. Or Dreamweaver. Trust me, the 98.4mb trial is not worth downloading. Hardcode all the way!

I would recommend you try another OS and/or web browser. Usually fixes CSS problems for me.

Good luck.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #11   Spotlight this post!  
Unread 21-04-2004, 22:08
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: Arggg stupid css design.....

A quick look at your code suggests that the CSS is working to some extent. I'm seeing stuff on both IE6 and Gecko. Also, you might want to get something that highlights syntax. It would have shown the fact that you didn't close one of your <table> elements. If you tell us what you want to achieve with the file, I could whip something up for you.
__________________


Last edited by jonathan lall : 21-04-2004 at 22:12.
  #12   Spotlight this post!  
Unread 21-04-2004, 22:53
LauraN's Avatar
LauraN LauraN is offline
Holder of the Missile Keys
FRC #0097 (RoboRuminants)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: New Jersey
Posts: 96
LauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to beholdLauraN is a splendid one to behold
Send a message via AIM to LauraN
Re: Arggg stupid css design.....

Quote:
Originally Posted by Adam Y.
Sorry I did not post this sooner I feel asleep.
Haha I took a nap today too. Way to go. =)

Ok, let's see here. Someone already pointed out that you didn't properly close one of the table commands.
PHP Code:
<table class="rightnavbar"
work dam u work
</table
Here's what happens: I tried linking to the style sheet (saved it as a .css) and everything but the background color works. *confused* I tried changing it from "black" to the hex code (#000000) but that didn't help. So I'm not really sure what's up in terms of how different browsers/OS's are working.

With the embedded style sheet (either way, actually), the tables show up- but you need to open and close the <TR> and <TD> tags for the text to show up in the right place- otherwise it ends up outside your tables and the tables then change position to accomodate, so all your .css positioning is pointless.

Also, one piece of unsolicited advice. =) You may want to try playing around with div layers and seeing if that helps. They may be easier to work with, depending on what you're trying to do. Your style sheet will work the same way, but you can just change your code from <table class= "topnavbar"> to <div id= "topnavbar" class= "topnavbar">. I think you may be able to do more with the css then. I'm not totally sure, but it's probably worth playing around with.

Hope this helps. I think I fixed some stuff but I'm not sure I exactly answers your original question. Maybe if we knew what OS and browser you were using on the school computers compared to what we are all using we'd be able to figure out what does/doesn't support what you're trying to do and possibly fix it.
__________________
-Laura Nicholson
Team 97 (RoboRuminants) Mentor
Team 30 (FURY) Alumna
  #13   Spotlight this post!  
Unread 21-04-2004, 23:55
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Arggg stupid css design.....

Quote:
Originally Posted by Adam Y.
I was handcoding it. But goosh darn it there is something wrong with my school's computers. It simply does not display the fact that there is any css. The only program that actually displayed my css was Frontpage?? There is no errors as I checked on a validator because I couldn't figure out what was happening. It works on my computer now. Could it be the fact that I was using Microsoft Word to type it and not notepad?? Sorry I did not post this sooner I feel asleep.

PHP Code:
<html>
<
head>
<
style type="text/css">
body {background-color:blackwidth:800pxheight:600px;}
.
rightnavbar {width:150pxheight:200pxborder-style:ridgeposition:absoluteleft:0pxtop:70px}
.
topnavbar {width:800pxheight:68pxposition:absoluteleft:0pxtop:0pxborder-style:ridge}
</
style>
</
head>
<
body>
<
table class="topnavbar">
hello
</table>
<
table class="rightnavbar"
work dam u work
</table>
</
body>
</
html
This works for me:
PHP Code:
<html
  <
head
    <
style type="text/css"
      
body {background-color:yellowwidth:800pxheight:600px;} 
      .
topnavbar {background-color:redwidth:800pxheight:68pxposition:absoluteleft:0pxtop:0px;   border-style:ridgeborder-width:10
      .
rightnavbar {background-color:bluewidth:150pxheight:200pxborder-style:ridgeposition:absoluteleft:0pxtop:70px
    </
style
  </
head
  <
body
    <
table class="topnavbar"
      <
tr>
        <
td>
          
hello 
        
</td>
      </
tr>
    </
table
    <
table class="rightnavbar" 
      
<tr>
        <
td>
          
work dam u work 
        
</td>
      </
tr>
    </
table
  </
body
</
html
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #14   Spotlight this post!  
Unread 22-04-2004, 00:17
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Arggg stupid css design.....

Your problem isn't with your css, but with your html.

I've attached screenshots of 3 different browsers rendering of gwross's code and your code.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-1.png
Views:	41
Size:	73.6 KB
ID:	2163  Click image for larger version

Name:	Screenshot-2.png
Views:	39
Size:	70.2 KB
ID:	2164  
  #15   Spotlight this post!  
Unread 22-04-2004, 07:31
FizMan's Avatar
FizMan FizMan is offline
aboot, eh?
AKA: Chris Sinclair
#0783 (Mobotics)
Team Role: Alumni
 
Join Date: Feb 2004
Location: Toronto, Canada
Posts: 102
FizMan will become famous soon enough
Send a message via AIM to FizMan Send a message via MSN to FizMan
Re: Arggg stupid css design.....

Quote:
Originally Posted by Adam Y.
Could it be the fact that I was using Microsoft Word to type it and not notepad??
Don't know if this is an issue or not, but depending on how you saved the Word file, it might have thrown in wacky formatting codes. But yeah, other than that, just fix up the HTML...

and in regards to the background-color not working... it's 'cause it should be background-colour [/joke]

And does calling the width/height properties for the body tag actually do anything?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Based Design Brandon Martus Website Design/Showcase 13 07-05-2004 19:46
TechnoKat design usage, communicated with judges Andy Baker General Forum 13 24-03-2004 17:37
Design Sharing Rod General Forum 32 14-01-2004 22:00
How do you design your robot? Gui Cavalcanti General Forum 23 16-11-2003 18:33
Ok, so YOU design the 2003 game... dlavery General Forum 157 07-01-2003 23:55


All times are GMT -5. The time now is 00:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi