I was fiddling with the company website, which was created by our Customer Service Manager using Expressions. Ye gods, what a heap of crap that monstrosity adds to a site! It's nearly as awful as a 'Save as Web Page' product of Word. But I have to admit that it does what it's intended to do - let non-technical users build decent looking sites quickly. The problems begin when you try to update a site created with this beast.
She's been trying to add some new content and, of course, every new addition screws up the formatting. It uses inline styles for everything, and canned effects and features that have such obscure, generic names that it's almost impossible to manually edit the content. I fired up Visual Studio tonight to try to duplicate the common features of the site for her, using a style sheet so that she doesn't have to edit every single element on every single page when she wants to modify something. I've gone over the source and can't make any sense of it. It's also a couple of GB in size, because of all the unused but stock files it adds. The actual content of the site could be done in a few MB, including images. I ran into a little stumbling block...
There's a tabbed main content section that appears to be made up of individual images for tabs, each anchoring a link to a new page. I really don't want to spend dozens of hours with an image editor trying to duplicate that, and I thought there was a web control in .Net that makes a tabbed container, but I can't find it. The rest is easy - a few divs, a bit of CSS code, and I'm there. But this is a stumbling block, and I'd really like to wean her off Expressions. And yes, I'm trying to build a business case for the company to spring for a couple of copies of Visual Studio at work, so there's an additional incentive to overcome this problem.
Can someone recommend a solution, or point me to a built-in web control in Visual Studio 2008 that provides the same functionality?
I don't know how relevant it is to how you want to do it, but there are a heap of "button generators" out there. I have used a few; my current (free) weapon of choice is Deknop (apparently means "the button"). With it and a few minutes, you can generate button sets like the ones I did here[^] Pretty mouse-over, etc, is easy but boring mindless. Feel free to "borrow" as much as you like.
I suspect that the better (ie $$) ones allow you to set your own shape/background to make them look like tabs.
You still have to stitch your pages together, but this should ease the image editing pain.
It's been a while since I've done much html, though my initial thought is that this could be done with 6 images and some css.
You'd use 3 images for each state, a left a middle and a right. You simply repeat the middle image for the required width (which could be determined from the _text_ label hat the button would have - also helps make your site more easily ably to be translated, since the button text can be translated also)
It's a little messy, and could do with some better sizing of the left/right sides of the tab. Though this is what I mean above:
Okay, I don't know if this is more of a CSS or HTML question but I'm having issues with my navigation bar scrolling horizontally when the browser window is too small. I have my navigation bar on a separate layer from the rest of my web-page and have it in a fixed position. The only issue that I know is left is that if the user has their browser set to smaller dimensions than the webpage the navigation bar moves as they scroll horizontally. I'm trying to stop it from moving on the X-axis and only along the Y-axis.
This didn't fix the direct issue, but it did completely remove horizontal scrolling. This may be usable if I can get the template to resize with resizing the screen, but due to my current code and images probably won't work.
I would like to create a news website, preferably but not necessarily .NET based. I don't want to open a new project in VS and start from scratch, I would like to use some CMS system to create it. It would be very nice if you could direct me to a place where I can find a complete cms skeleton for a general news site which I can customize and launch as soon as possible. I Googled but couldn't find what I am looking for so I thought I could use some help.
Any ideas? Thank you
And ever has it been that love knows not its own depth until the hour of separation
Hi all! I am uploading some documents to my website. I noticed when a file has a size that exceeds 5MB, the file automatically deletes from the chosen directory but those documents of smaller size remain. What's causing this and how can I solve the problem? Please help.
Ask your server admin. The most likely reason is that they have set a file upload size limit of 5MB or thereabouts. If that's not the problem, get them to look in the server logs to see what's going on.