Main Menu
  • Welcome to The RPG Maker Resource Kit.

Xhtml or CSS?

Started by Grafikal, December 21, 2008, 05:16:25 AM

0 Members and 1 Guest are viewing this topic.

Which do you prefer to code with?

Xhtml
4 (40%)
CSS
6 (60%)

Total Members Voted: 10

Grafikal

Personally, in highschool, I was taught HTML (which was...5 yrs ago). Did it in good 'ol notepad. Memorized all the tags and all that good shinanigans. However, industry is currently split between HTML and CSS. Now, the only actual advantage to CSS according to most professionals is that it's easier for a search engine to rummage through your site and pick out your keywords, as it's easier to cascade through beautiful coding instead of bumping around inside of tables. For myself personally, HTML is EASIER just because I know all of it already and have recently gotten back into coding at the beginning of this last college semester for a main course. It's what I'm going to be doing when I leave college, however, the other half of the course in the first semester was CSS. CSS's basics are easy as hell and pretty much just MAKE SENSE. However, it's all buggy and half the time causes bullshit on browsers. [ex. INTERNET EXPLORER :mad:] I have found hacks for those to get those to work. Because it's a cascading style sheet, the basics of CSS is free flowing and relative. As designers, it's not always how we want it to be. We want things to be in a certain spot. Or, absolute. The problem with that, is it can mess up the CSS and then you gotta go and mess around with it. It wants everything to be relative. And I don't. I swear that 99% of emails are still HTML anyway. Like I said, the industry is split down the middle. I wanted to get everyone's take on which they think is better or which they prefer and why.

Also, I'd like to add. I found that for those in my class that have never coded before found CSS easier than HTML when I had the opposite effects. For me it was just how I was taught before, so I knew what I was doing with the HTML part of the course where when we were introduced into CSS I was just as new as the other students. I did pick it up stupid fast though since I knew what everything meant but hadn't had an idea for it's applications. So I say, this could be given great consideration when deciding which you prefer, I think it's just a choice between which you learned first.

Also I haven't given CSS a lot of opportunity yet. So I'm going to try and pump our a couple mock sites this Christmas break. Though I do like CSS more than HTML.

Also, I'm just browsing through the source code for this, and noticing it's about a 3:2 ratio. Html to CSS. Not pure of either. That's probably just the smf though.

[spoiler]lol@
.drop-down /* ugh IE */
{
position:absolute;
margin-top: -204px;
margin-left: -68px;
border: 1px solid #D0CED7;
background: #DDDBE3;
padding: 2px;
}[/spoiler]

Irock

Wait for Roph's reply. >:-3

I've only coded in CSS. I hear it's better. The first page I created doesn't work in IE, and I don't know how to fix it. But, CSS is easy, in my opinion.

I'm not the best person to discuss this with though~

Grafikal

You're right though. CSS is easy. It does have problems with IE. CSS is HTML [structurally] and metaphorically speaking. Instead of tables, and rows, and cells, you create containers with div tags and each div is contained within a larger div tag. Kind of how a cell is contained in a larger row which is overall contained in a table. Thanks for the reply though.

:)

html <- where your code/text is
css <- where you tell your code how to be styled.

use them both hand in hand. After a while you can learn css like the back of your hand and lay out a site in a few min's.

learning how to fix problems in IE comes with time, not something you pick right off the bat. My current design job works in IE 6 without me even working on it, just happens. (minus transparency)
Watch out for: HaloOfTheSun

Grafikal

I meant css as far as the use of div tags were concerned and not the styles. :)
I have the fixes for IE, some I think are actually embedded in dreamweaver when you create a new document using one of their css premade layouts. Half the time I just say 'eff you IE' and check out other major browsers, but it's dependent on what you're doing I suppose. But I agree with the practice. Practice does increase a person's comprehension of the coding.


[spoiler]You didn't even vote :mad:[/spoiler]

:)

I code in both at the same time :)

Though, currently I've been testing out Blueprint, a css 'framework'. Its something people are VERY skeptical about, some hate it, some like it, so I gave it a try. BUT I don't recommend it unless you know css.

If I were to pick one over the other, I'd pick css ONLY because it's a tad more fun than html, but in order for me to have a site I need both.
Watch out for: HaloOfTheSun

Grafikal

It is more fun. What exactly is Blueprint? And can I run it on my mac ._.

:)

don't touch it until you know css :D

it's just css pre-made.

when I add a div, I don't need to work with css for the width all I need is:

<div class="span-2 prepend-1"> and the div will be the width of two spans with an empty span in front of it.

realllllllllllllllllly speeds up the process.

you can view my source code here: http://mildgreen.com/e2/hosting.php (haven't cleaned it up xD)
Watch out for: HaloOfTheSun

Grafikal

#8
I know css lol, I just never use it. :(
Very nice page. I think I've actually seen that somewhere else you posted it.
I really need to start using jquery.

edit. Well, I shouldn't say 'never' use it. I'm just trying to hold back. Literally... I know too much for the course I'm in. I have to hold back. Plus, I don't like being a tutor to 20 other people who have no clue what's going on and who all act like 2 year olds who haven't gotten their diapers changed in 3 weeks. It's new to them. That's why I say hold back.

Leventhan

I use both XHTML and CSS :)
Was taught HTML in school like around 2-3 years ago and taught myself CSS a few months ago.

And yeah, jQuery is pretty sweet :3
I'm also learning Wordpress theme creation, it's a pretty powerful and not to mention a popular CMS nowadays.

Be kind, everyone you meet is fighting a hard battle.

:)

* Lumberjack Nouman is a wordpress freak <3
Watch out for: HaloOfTheSun

Leventhan

Quote from: Lumberjack Nouman on December 21, 2008, 04:16:42 PM
* Lumberjack Nouman is a wordpress freak <3
Good for you :)
Nouman are you selling any stuff on Themeforest?
Now they're even accepting PSD templates :3

Be kind, everyone you meet is fighting a hard battle.

:)

nah, I've always thought about opening up my own version of the site, but for free theme's that are just as good. :/
Watch out for: HaloOfTheSun

Grafikal


:)

haha I know, but rest assure I didn't write the content :)
Watch out for: HaloOfTheSun

Grafikal

Blueprint is for Windows OS only I take it? Or at least whatever I download from them is.

Roph

XHTML OR CSS? One without the other is kind of pointless :x
[fright]bringing sexy back[/fright]

:)

Quote from: Prince Grafikal006 on December 22, 2008, 04:37:21 PM
Blueprint is for Windows OS only I take it? Or at least whatever I download from them is.

it isn't a program, it's just a set of css files :x Should work on mac, pc, linux w.e.
Watch out for: HaloOfTheSun

Grafikal

Quote from: Roph on December 22, 2008, 05:08:57 PM
XHTML OR CSS? One without the other is kind of pointless :x

I realize lol.

I'm trying to think of a better way to pose the question hah. I know we use both... I'm just trying to figure out what part of it a person likes most? I guess that's a slightly better question.


Quote from: Lumberjack Nouman on December 22, 2008, 05:11:12 PM
Quote from: Prince Grafikal006 on December 22, 2008, 04:37:21 PM
Blueprint is for Windows OS only I take it? Or at least whatever I download from them is.

it isn't a program, it's just a set of css files :x Should work on mac, pc, linux w.e.

I thought as much. I looked at the folder after posting and it just had a lot of layouts and such. I was confused since the primary folder contained a lot of files I can't run on my mac.

tSwitch

Quote from: Roph on December 22, 2008, 05:08:57 PM
XHTML OR CSS? One without the other is kind of pointless :x

that's what I've been thinking this whole time


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

Roph

IE choking on CSS is microsoft's fault, not the W3C's fault.

Also what you described sounded kind of like a div soup. Alot of people are overzealous about tables too. Tables are fine, just use them for their intended purpose, and not to define your layout. I remember seeing a custom SMF theme where in every single template all of the tables used anywhere had been replaced and recreated via other means. That is so ridiculous; many aspects of a forum are pretty much tabular data, where a table is the best option both logically and semantically.

You should have a look at CSS Zen Garden. Go through the different themes and check the markup of each one. You'll notice that it's the same, the layout is controlled entirely by the CSS. This is how CSS is meant to be used, but pretty much nobody (including myself) does it.
[fright]bringing sexy back[/fright]

tSwitch

Quote from: Roph on December 22, 2008, 05:28:06 PM
You should have a look at CSS Zen Garden. Go through the different themes and check the markup of each one. You'll notice that it's the same, the layout is controlled entirely by the CSS. This is how CSS is meant to be used, but pretty much nobody (including myself) does it.

http://www.csszengarden.com/?cssfile=/202/202.css&page=1

that one gets me every time.


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

ahref


Moss.

Quote from: NAMKCOR on December 22, 2008, 05:36:04 PM
Quote from: Roph on December 22, 2008, 05:28:06 PM
You should have a look at CSS Zen Garden. Go through the different themes and check the markup of each one. You'll notice that it's the same, the layout is controlled entirely by the CSS. This is how CSS is meant to be used, but pretty much nobody (including myself) does it.

http://www.csszengarden.com/?cssfile=/202/202.css&page=1

that one gets me every time.
lol it's so tacky and ugly

:tinysmile::tinysmile:

tSwitch

it's the effect of it, not how it looks.
I'm more amazed by the idea, and how it was presented, than the actual aesthetic value of it.


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon