31
dukehen
Re: Working on my first non-table theme, basic div/span question(s)
  • 2004/6/6 3:33

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Thanks. I think I have already found what I need, boy do I find working with divs much easier than tables...



32
dukehen
Working on my first non-table theme, basic div/span question(s)
  • 2004/6/6 0:06

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Alright, I am reading up on <DIV>'s and <SPAN>'s, and am wondering what the best approach would be to accomplish this goal:

In the past, I have relied on tables to organize my pages, but after reading up on DIV's, and my already overriding preference to use CSS, I have decided to make the switch. Instead of converting (which I am leary of), I want to start fresh on a new theme.

Here is what I want to start with.

For my theme, I have a main table (which will now be a div, no problem there) and inside of it I usually have multiple tables.

My confusion lays around arraying objects in a horizontal line. Now, I understand that DIV's are block elements, whereas SPAN's sit inline. Keeping this in mind, this is what I would do with tables for my top piece:

I would have a table, with let's say 3 data cells (columns). The 1st and 3rd (or left and right) will be fixed width of let's say 200 pixels, and the middle is set to 100% to accomodate users with larger resolutions.

Now, with DIV's, what would be the best way to accomplish this? With 3 DIV's that are absolutely positioned beside each other, or with SPAN's, or some other way?

Which ever way is best, if you could post example code, I would appreciate it!

Thanks!



33
dukehen
Free border images?
  • 2004/6/3 15:21

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


In my efforts to come up with block borders that are not simply squares (and after being inspired by a few really nice themes that I have seen), does anyone know where you can get free images that would serve nicely as borders?

I am not looking for anything high in detail, just something that I can use to give my blocks a less "block"-ish look...if you know what I mean..?



34
dukehen
Re: how do you like this theme ?
  • 2004/5/20 14:18

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


One thing I would like to know: did you create the various block images yourself? Quite impressive!

What a slick looking theme!



35
dukehen
Re: how do you like this theme ?
  • 2004/5/19 16:07

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


I LOVE that site. Really gives me some major ideas indeed!

Especially considering your left/right blocks. Those look clean and straightforward (not to mention awesome).

Thanks for sharing!



36
dukehen
Re: Will pay PayPal to whom ever fixes this issue
  • 2004/5/19 16:00

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


I assume you are not just running the file admin_forums.php because that won't work.

You should actually be running something like

....admin_forums.php?mode=addforum

right?

It appears that forwhatever reason the variable xoops_admin_menu_js is not being set when it is being handled by the functions page...



37
dukehen
Re: Third phase of tweaks to my theme
  • 2004/5/19 2:47

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


That is a great idea - I am shamed that the thought didn't come to me! Thanks again!

Now, I just have to think of a way to implement this...

Time to plan!



38
dukehen
Third phase of tweaks to my theme
  • 2004/5/18 22:41

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Alright, first off here is the site:

http://www.paintballandstuff.net/modules/news/

Now, here is the first thing I need to address:

1. I have little arrows beside each items of my left/right blocks. The problem is where I have form textfield inputs. I don't know how to fiddle with them so that when someone has to log in, the input boxes still fit the general theme of the neccessary block.

I was thinking of making the arrow background images bigger, and increasing the font size of the menu items to match the size increase, but that seems like an inefficient way to do it.

2. I have noticed that if I go my site, and for example click on "community" to view the newbb module, I see little white gaps on the bottom left and right of my theme. However, if I refresh in that same module, the white gaps disappear.

I would like to have those white gaps gone completely, but am not quite sure what I need to do in this regard. I have cleared my cached templates directory, so I know that is not the problem.

3. If anyone else notices anything that needs to be tweaked, by all means feel free to make suggestions. I know the main news content theme aspect is pretty plain, I am still working on finalizing this theme. I want something that will truly look clean and simple without looking dull.

Thanks



39
dukehen
Re: XHTML validating, one thing to fix? ($pagenav)?
  • 2004/5/18 21:13

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Good catch! I didn't realize that the parser changed what I originally input!

Thanks



40
dukehen
Re: XHTML validating, one thing to fix? ($pagenav)?
  • 2004/5/18 17:47

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Aha, fixed it!

Went into index.php of the news module and made sure to set the inialization of the separator from just & to & with a space.

So, I added this around the top of index.php

ini_set('arg_separator.output','&');

anyway, thanks!




TopTop
« 1 2 3 (4) 5 6 7 ... 10 »



Login

Who's Online

154 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

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

Latest GitHub Commits