Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2007-09-20 14:31:17

8unknown
Member
Registered: 2007-08-26
Posts: 12

Re: bantjes.com

hey,
thank you all for the tips, I’m still struggling…
I’m using Safari which is probably why it doesn’t center the topmenu…
the thing is I learnt html on my own in 1998 or something when I was 12 or something… and now I find it hard to understand things like where to put the #navtop codes… If I use it after the <body> tag, it appears as raw code in my page…

Offline

#17 2007-09-20 14:45:04

8unknown
Member
Registered: 2007-08-26
Posts: 12

Re: bantjes.com

ok…
i placed the navtop tag after a <style type=“text/css”> tag and it seems to be working…
:)

Offline

#18 2007-09-20 14:45:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: bantjes.com

In CSS-file (Cascading Style Sheet), where all styling is put and formed. You should try to learn new ways, like a valid XHTML and CSS.

CSS
XHTML

Who even uses inline styles or unvalid attributes that are passed away a long time ago? Keep with time. It could be hard at wirst, and yeah, it is easy to me to say “learn”, when I do websites as my work.

Cheers!

Offline

#19 2007-09-20 14:53:44

8unknown
Member
Registered: 2007-08-26
Posts: 12

Re: bantjes.com

I found this code that is probably useful for what I want to do, but it is not with images. Any idea how to use this and have rollover images instead ?

http://www.thescripts.com/forum/thread705222.html

Offline

#20 2007-09-21 00:02:50

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: bantjes.com

8unknown wrote:

I found this code that is probably useful for what I want to do, but it is not with images. Any idea how to use this and have rollover images instead ?

http://www.thescripts.com/forum/thread705222.html

Firstly that CSS-stylingcode is whole different. It’s used to show li-items with links hover and display none. So, it’s really bad example. What kind of rollover you are planning to do? Because you could do a tons of different kinds.

  1. Menu?
  2. Slideshow?
  3. Rollover?

With two images:

#imgdiv {
	background: url(../images/img1.png) no-repeat 0 0;
	width: 350px;
	height: 200px;
	}

#imgdiv:hover {
	background: url(../images/img2.png) no-repeat 0 0;
	}

Something more:

  1. http://cssbeauty.com/
  2. http://www.cssplay.co.uk/index

PS. This isn’t really a TXP issue, so some CSS gallery/forum would be better place for this… And try googling around.

Last edited by Gocom (2007-09-21 00:03:08)

Offline

Board footer

Powered by FluxBB