Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1442 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Hex needs help!! *CSS*

Thread title: Hex needs help!! *CSS*
Closed Thread  
Page 2 of 2 < 1 2
    Thread tools Search this thread Display Modes  
04-03-2005, 03:40 AM
#11
Travis is offline Travis
Status: Member
Join date: Jul 2004
Location:
Expertise:
Software:
 
Posts: 445
iTrader: 0 / 0%
 

Travis is on a distinguished road

  Old

Perhaps Salathe want's Derek to fix his code to the following:

CSS:
HTML Code:
#nav {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav li {
	margin: 0;
	padding: 0;
}

IMG {
	border: 0;
}
xhtml:
HTML Code:
<ul id="nav">
   <li><a href="yourlinklocation"><img src="yourimagegoeshere" 
         alt="imagealttestgoesinthisspace" /></a></li>
   <li>repeat li'ing</li>
</ul>

04-03-2005, 04:02 AM
#12
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

possibly. the style element is pretty much a contradiction to the html vs css thing, i usually make a class. this was simply less typing.

04-13-2005, 03:30 PM
#13
Lori is offline Lori
Status: I'm new around here
Join date: Jan 2005
Location: South Florida
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

Lori is on a distinguished road

Send a message via ICQ to Lori Send a message via AIM to Lori Send a message via MSN to Lori Send a message via Yahoo to Lori

  Old

This is a little old but I went to see anyway.

Q. Why if you are supposed to be coding xhtml strict/css, are there any tables in this design?

There should be no tables. Mixing tables and CSS-P, there are bound to be errors. Get rid of the tables.

Q. Why are you using IE to create your page?

You should use a standard compliant browser (like FF or Moz) then hack for IE if the need be.

-----
TIPS
-----

1. As was mentioned, your Navigation should be (out of tables) marked up using an inline UL.

2. Remove unused divs and classes.

3. Make sure you are coding your xhtml correctly. The P tag does not need to be closed. Remove the two <p /> tags that are between your tables - I have no idea why you have that there.

4. Use semantic markup before making divs and classes. Change your "div.newstitle" to an H1 or H2 and style that.

5. Remove style elements from the page and put into stylesheet. Easier to troubleshoot if you are working only in one place.

6. Don't make newsdate a div of its own. Use <p class="newsdate">, or better yet style another Header element.

04-13-2005, 04:35 PM
#14
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

Originally Posted by Lori
3. Make sure you are coding your xhtml correctly. The P tag does not need to be closed. Remove the two <p /> tags that are between your tables - I have no idea why you have that there.
http://www.w3schools.com/xhtml/xhtml_html.asp

posted @ w3schools.com:
All XHTML Elements Must Be Closed
Non-empty elements must have an end tag.

This is wrong:

Code:
<p>This is a paragraph
<p>This is another paragraph
go to school before trying to teach. +)

04-13-2005, 04:42 PM
#15
Lori is offline Lori
Status: I'm new around here
Join date: Jan 2005
Location: South Florida
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

Lori is on a distinguished road

Send a message via ICQ to Lori Send a message via AIM to Lori Send a message via MSN to Lori Send a message via Yahoo to Lori

  Old

Kindness kills doesn't it.....

I highly suggest you go back and think again Mr. Derek.l.

<p> tags are NOT closed like <p /> they are closed like <p>whatever</p>

The P tag is incorrectly closed in the afformentioned instances in his code. You do NOT close a P tag in the same manner that you close (xhtml) inputs, metas, images, br, hr... no need to go on.

There is no begining P tag for those instances in his code, therefore he has two hanging, incorectly coded tags that should NOT be there.

BOTTOM LINE His code is wrong. You are wrong.

Maybe it is you that needs some further education in not only xhtml, and manners, but also how to deal with NOT being right.

04-13-2005, 05:57 PM
#16
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

it was simply a misunderstanding. "The P tag does not need to be closed." is clearly a violation of the xhtml concept and thus triggered the wrong context. i appologize for that, but it's still wrong to say so.

and i haven't been wrong. a disagreeance on opinion can't yeild a right and wrong answer, so i really don't know what you're trying to get @ with these comments. in this situation, we're both right. that line suggests "<html /> is wrong, remove the tag" is also a right descision when clearly it's not.

if you're going to go off about manner, at least make sure i've really done something before acusing me of it, 'less you want to look just as bad as you make me out to be.

04-13-2005, 06:03 PM
#17
Lori is offline Lori
Status: I'm new around here
Join date: Jan 2005
Location: South Florida
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

Lori is on a distinguished road

Send a message via ICQ to Lori Send a message via AIM to Lori Send a message via MSN to Lori Send a message via Yahoo to Lori

  Old

Derek,

It was not me that made the snide comment...


go to school before trying to teach. +)
If for some reason you think that is a nice thing to say, then therein lies the problem. And Derek, this is not a disagreeance on opinion as you say. What I posted is fact -- and yes, I am mistaken in the WAY I posted it... I do way too many things at one time, and just did not re-read before hitting the button.

However, you did not state: "Ooops, Lori, you stated that wrong - did you mean...", ... you were rude about it. I indeed do not need to be educated in the basics of xhtml (as you saw upon your visit to my site today ) I am here to help people just the same as you...

I play nice unless someone steps on my toes, which you did do.

Lets start over, you and I. Just please speak to me respectfully and I will extend you the same courtesy.

04-15-2005, 05:02 AM
#18
flez is offline flez
Status: I love this place
Join date: Jul 2004
Location: Montreal
Expertise:
Software:
 
Posts: 540
iTrader: 0 / 0%
 

flez is on a distinguished road

  Old

Originally Posted by Lori
Q. Why if you are supposed to be coding xhtml strict/css, are there any tables in this design?

There should be no tables. Mixing tables and CSS-P, there are bound to be errors. Get rid of the tables.

Well tables can be used in XHTML. You shouldn't get errors because you used tables. But, if you want to have real XHTML, you do not use them to layout the website, only to show tabular data. As XHTML is meant to separate content from design, so the tables shouldn't be in the XHTML code.

PS: I just had to add that .

04-15-2005, 09:40 AM
#19
DateinaDash is offline DateinaDash
Status: The BidMaster
Join date: Nov 2004
Location: England
Expertise:
Software:
 
Posts: 10,821
iTrader: 0 / 0%
 

DateinaDash is on a distinguished road

  Old

Apologies Lori, Derek can sometimes come across rather rude...i'm sure it wasn't intentional

04-15-2005, 12:43 PM
#20
Lori is offline Lori
Status: I'm new around here
Join date: Jan 2005
Location: South Florida
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

Lori is on a distinguished road

Send a message via ICQ to Lori Send a message via AIM to Lori Send a message via MSN to Lori Send a message via Yahoo to Lori

  Old

Flez, you are indeed right - sorry that I was not completely specific about that Nice to have others covering what we forget to mention.

In this case, there should be no tables as there is no data to be presented

Robson Thank you for keeping up I added you to my AIM so that I could discuss the professionalism issue here on the boards but have been too busy to get to you. I think that the misunderstanding between Derek and I is sorted, and hope that we don't ever go through this again here.

On the professionalism, I just hope that everyone, when they create or reply to messages here, keeps in mind that Google loves forums - what you say can always come back to you when you post it in an open forum.

We need to remember that when someone googles for "freelance designer" - the search can lead the person here. Not considering the professionalism you display across public forums could be the reason the next job is not yours.

Closed Thread  
Page 2 of 2 < 1 2


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed