• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

New HTML borders

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
The current border scheme can't be used with border-image, which will simplify both the needed HTML and CSS to exactly one line.
The problem with the current borders is the non uniform corners (in other word, they are not square).

So yeah, fill in the empty parts.

Same goes to the Terran theme of course, but there you don't even have one image for the top/bottom, so it's even more messy.
 

Attachments

  • Border.png
    Border.png
    15.1 KB · Views: 100
  • BorderExample.png
    BorderExample.png
    47.5 KB · Views: 106

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
When I had access to coding a few things in a certain area of the site reserved for random pages, I tried to tinker around with writing text outside the borders and I think I actually managed to do it, if I recall correctly. I figure this is irrelevant though. So you want someone to fill in the borders so that Ralle will edit the CSS layout to use border-image? Has he agreed to do this? Won't there be problem with browsers who do not support the latest CSSes? I no longer remember well, but I always had to find ways to circumvent using certain CSS styles when using it for notices because this or the other browser wouldn't support it.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
It's supported on every browser except for the two obvious ones: Opera Mini (for obvious reasons), and Internet Explorer (for other obvious reasons).

Since you need endless hacks to begin with for any IE version (and god have mercy if you still bother with nonsense like IE 6/7/8), I see no difference here.

As to what to do - simply make square corners.
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
GhostWolf said:
and Internet Explorer (for other obvious reasons).
=P

GhostWolf said:
The current scheme doesn't look too good either, you have two overlaid leaves at the bottom.
I believe that is not the only problem. I've seen certain pages stretched way down and that caused certain glitches in the layout at the bottom too. I don't remember if it was the leaves or the outer wood/metal border, it would just vanish and go black.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Made little edits to the current borders.
Of course, someone who actually knows anything about art can do it better.
I am going to use these in the model viewer until there is something better.

CSS:
.nightelfborder {
    border: 35px solid transparent;
    border-image: url("nightelfborder.png") 35 35 round;
}

.terranborder {
    border: 27px solid transparent;
    border-image: url("terranborder.png") 27 27 stretch;
}
 

Attachments

  • nightelfborder.png
    nightelfborder.png
    19.8 KB · Views: 74
  • nightelfbordercow.jpg
    nightelfbordercow.jpg
    418.9 KB · Views: 77
  • nightelfborder_winter.png
    nightelfborder_winter.png
    19.2 KB · Views: 75
  • wintercow.jpg
    wintercow.jpg
    398.3 KB · Views: 78
  • terranborder.png
    terranborder.png
    28.1 KB · Views: 72
  • terrancow.jpg
    terrancow.jpg
    394.7 KB · Views: 66
Last edited:
Level 29
Joined
Jul 29, 2007
Messages
5,174
Not as nice as having just border-image, but a whole lot better than all the hacks employed in the current setup.

The HTML/CSS/JS generated by vB is generally a big chunk of garbage, but I guess (hope?) that will improve whenever Hive 2™ will be public (endless comments, inline styles all over the place, using old DOCTYPE and all the XML nonsense, using old tags, random whitespace all over the place, using absolute urls all over the place, etc., causing every page to be probably a few times larger than it should be).
 
Status
Not open for further replies.
Top