1
placebo
css Table Problem
  • 2004/11/3 18:57

  • placebo

  • Just popping in

  • Posts: 18

  • Since: 2003/7/28


Iam using a Java Script Navigation inside a Header Table. (Default Theme)







 


Basically a simple table : image/navigation Script/cell with Background image.

Now to my Problem. If you check : http://www.58thmarinecorp.com/Planetside/modules/news/ and have a look at the navigation subs , they are using the whole width of the page. Responsable for this , is one line in the CSS File : (line 3)

table {width: 100%; margin: 5; padding: 5; font-size: small;}

Removing the "width: 100%;" fixes the Navigation, but destroys a lot of other Tables, because most of the Table Tags in the templates dont use a width tag, so the Tables dont stretch to the end.

Anyobody has a solution for me to fix this problem ?

2
JMorris
Re:css Table Problem
  • 2004/11/3 20:00

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Try defining a new class for the submenu in your stylesheet then assign the appropriate id in your javascript. Sorry, I've done it before, but I don't recall the exact code off the top of my head.

Hope this helps.

3
placebo
Re:css Table Problem
  • 2004/11/4 7:33

  • placebo

  • Just popping in

  • Posts: 18

  • Since: 2003/7/28


assigning a new class for this table like :

table.narrow{width:auto}

didnt worked. DId i get you right that the java script needs changes ?

4
placebo
Re:css Table Problem
  • 2004/11/4 12:45

  • placebo

  • Just popping in

  • Posts: 18

  • Since: 2003/7/28


This topic can be closed or deleted. I gave up on this script. BTW its Sothink DHTML Menu and not recommended for using inside Xoops.

Login

Who's Online

180 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits