That should read {a} tags.
Announcement
Collapse
No announcement yet.
Wed designers / programmers / authors - read this!
Collapse
X
-
Just guessing off the top of my head
border-color: #ffff00; border-width: thin
If you want it to apply only to images within <a> I would create a class.Christianity: The belief that a cosmic Jewish Zombie who was his own father can make you live forever if you symbolically eat his flesh and telepathically tell him you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree...
Comment
-
How about
a img {
border-color: #ffff00; border-width: thin
}
This only applies to img tags within an anchor. Any accompanying text is not enclosed.
a > img {
border-color: #ffff00; border-width: thin
}
This only applies to img children of anchors that are not surrounded by other tags. In other words, you can't bold the image or whatever.Blog | Civ2 Scenario League | leo.petr at gmail.com
Comment
-
First one works like a charm, St. Leo. Thanks!
Now for another newbie question. I have two css-generated boxes I'd like to put inside a third, larger box. I can't figure out what syntax to use. What position or float value is supposed to be used? Everything I've tried has ended up with one box beneath the other.cIV list: cheats
Now watch this drive!
Comment
-
Originally posted by Asher
There is a difference, and hence why it's an analogy, UR.
I don't see why it's a silly analogy: high-level languages sacrifice efficiency for convenience, so do WYSIWYG editors.
Now, if you argue that a RAD environment exchanges efficiency for covenience, I may agree with that.
You can tell the differences between RAD's and high level languages, can't you?
Originally posted by Asher
Java and C# abtract farther than C and C++ do.
Originally posted by Asher
My bias? What the hell do I care? I'm not a web developer, I don't give a crap what people use.
Originally posted by Asher
Sites today abuse CSS & flash way too much, it makes me angry.
Originally posted by Asher
Have you used a modern WYSIWYG editor?
Originally posted by Asher
You'd go into a nice purty dialog box and change settings.
You seem to equate WYSIWYG editors to Notepad or something.
Sure, there are some automations, but they aren't magical (or at least technologically advanced enough).
[QUOTE] Originally posted by Asher
And then there's the below-average programmers who spend their day developing open source software because they're not good enough to be hired at Microsoft or other proprietary development houses.[/qoute]
Try to be more original next time, okay?
Originally posted by Asher
Hey, do non-CSS sites outnumber CSS sites?
Yeah, thought so.
Originally posted by Asher
Whoa Nelly, you're the one that first asserted CSS was faster, and I'm the one to provide evidence?
You have been asserting that "tables render faster than CSS."
So, where's the evidence?(\__/) 07/07/1937 - Never forget
(='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
(")_(") "Starting the fire from within."
Comment
-
Originally posted by Urban Ranger
No, no, no. High level languages exchange effectiveness for efficiency for starters. Then the differences just pile up.
Now, if you argue that a RAD environment exchanges efficiency for covenience, I may agree with that.
You can tell the differences between RAD's and high level languages, can't you?
C# abstracts further than C++? That's like saying a paramecium is more advanced than an amoeba.
C++ lets you directly interact with hardware, C# is not. That's a HUGE difference.
C# runs in a virtual machine environment, C++ runs right in the environment. C# has GC, C++ does not, etc.
C# and Java are undeniably far higher level than C++ is.
That's not the point.
Like, Dreamweaver?
No WYSIWYG editor is going to magically propagate your changes to one webpage to the entire website.
Sure, there are some automations, but they aren't magical (or at least technologically advanced enough).
You have been asserting that "tables render faster than CSS."
So, where's the evidence?
And tables run faster anecdotally on my P100."The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
Ben Kenobi: "That means I'm doing something right. "
Comment
-
Originally posted by MattH
Now for another newbie question. I have two css-generated boxes I'd like to put inside a third, larger box. I can't figure out what syntax to use. What position or float value is supposed to be used? Everything I've tried has ended up with one box beneath the other.(\__/) 07/07/1937 - Never forget
(='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
(")_(") "Starting the fire from within."
Comment
-
Originally posted by Asher
Like the CSS example site someone linked to...I found it poorly designed and fairly hard to read. Color schemes with high contrast and font sizes bigger than size 8 is good.)
Because if you do, you must have missed the entire point of the website. Did you actually try any of the other designs? Yes... see those links on the right side of the screen, you can click on them and then the design of the website changes, with only the CSS being replaced.
That's the beauty of it, if you want high contrast and big fonts, or a better layout, you can do so in no time by repositioning and redesigning the elements using just CSS.
Comment
-
i have to say, css is the way to go: as has been mentioned before, it's a lot easier to manage websites' layouts using css.
not to mention that dreamweaver by default uses css in its pages.
is it better than tables? i'll have to say yes. it's trickier to think about the layout, but that's just me--i was coding pages in html tables before css came out, so that's what i learned and had gotten used to, but after picking up the strength of css...
adding in the font declarations, and the spacing, size, width, bold, underline, new paragraph, all those formatting delcarations the basic html code add up. it's the difference between a 32kb web page with a 56kb graphic image and a 5kb page with a 2kb css formatting page and a 56kb image loading on a 38.2k connection.
smaller is better, more elegant, and leaner, especially when it comes to coding. even if for all intents and purposes, html/css isn't a computer language, but rather a formatting language.B♭3
Comment
-
Originally posted by Urban Ranger
What sort of boxes? Do they use absolute, relative, or no positioning? How do you want the smaller boxes to be inside the bigger box?.
None of the boxes use positioning. I've mapped out what the basic layout looks like, and what I want to add. It's here.cIV list: cheats
Now watch this drive!
Comment
-
So you have everything already, except that left box?
And you add that left box something like this?
PHP Code:<div>
<!-- the containing box -->
<div id="D">Box D</div>
<div id="new">the new box, including sub-boxes here</div>
</div>
- use "float: right" on box D,
- place the new div above box D and float it to the left,
- use relative positioning to offset box D to the right, and then use absolute positioning to place the new box on the left. If the height of box D is fixed, use relative positioning to place the new box.
Comment
-
Hasn't anyone else noticed the title of this thread? I mean, okay, y'all are talking about web design, but how many of you are married?
Wraith
"****, I did not drop you on your head when I brought you into this world - don’t give me cause to regret that."
-- Hayward ("Twin Peaks")
Comment
-
D'oh!
Hadn't even noticed that.
I guess that means I'm out.
Comment
-
so far, i don't see how ccs is THAT much better than doing html tags. maybe it's just me."Speaking on the subject of conformity: This rotting concept of the unfathomable nostril mystifies the fuming crotch of my being!!! Stop with the mooing you damned chihuahua!!! Ganglia!! Rats eat babies!" ~ happy noodle boy
Comment
Comment