Announcement Announcement Module
Collapse
No announcement yet.
Slicing nav bar from illustrator file Page Title Module
Move Remove Collapse
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Slicing nav bar from illustrator file

    #1
    I am attempting to create a navbar from an illustrator file
    The bar is a rectangle with a gradient filling and has lines to separate each button (like so: http://i.imgur.com/8kSN2.png)

    When I save the individual sections (using the art board), the dividing line does not correspond with how the art board has been set

    If anybody has a solution or any information that would solve this problem, it would be much appriciated

  • #2
    Welcome Aboard!


    In honor of your membership you are here by given a stack of waffles!





    When you get settled please read this as well as these very important threads. They will give you all the info you need on how the forum runs, the rules and regs, and give you some background info on our long running, inside jokes

    Comment


    • #3
      Welcome.

      I don't have a lot of experience with what you're trying to do, but I'm sure someone will be along shortly with ideas.

      Comment


      • #4
        Are you trying to slice this nav bar so you can use the fonts you have used in your artwork?

        You are better off using CSS for this. Try creating a single image for use as a background (it only needs to be 1px wide, and and high as your nav bar is), and then creating a class or id for your navigation items in CSS.

        Then you can define the background gradient in there, something like the following:

        .nav {
        background: url(your image name.jpg);
        }

        Then, any navigation items that you assign the .nav class to will use that JPG as a background.

        Theres more you could do too - you could also add left and right margins for each <li> or <a> element in your nav, so they are spaced apart properly. This depends on how you want it to look of course - without seeing the whole sit design its difficult to tell.

        Comment


        • #5
          Why slice it at all? Something like that is easy enough to do with CSS.

          Comment


          • #6
            Originally posted by Cosmo
            Why slice it at all? Something like that is easy enough to do with CSS.
            Agreed. The only issue would be the font. I would make that sacrifice though.

            Comment


            • #7
              Thanks for the advice everyone. I feel semi-retarded at this point haha. I think what I'm going to do is use one gradient image for the background and simply use separate images with transparent backgrounds for each nav button. Once again, thanks for helping me not get caught up in trying to slice up the image for hours on end. Cheers

              Comment


              • #8
                Originally posted by dlm56 View Post
                Thanks for the advice everyone. I feel semi-retarded at this point haha. I think what I'm going to do is use one gradient image for the background and simply use separate images with transparent backgrounds for each nav button. Once again, thanks for helping me not get caught up in trying to slice up the image for hours on end. Cheers
                You don't even need to do that. That entire nav bar can be done without a single image - only CSS.

                Comment


                • #9
                  Have a look at this

                  http://www.css3.me/

                  Comment


                  • #10
                    That is very cool Paj. Thanks for posting that link.

                    I agree with Cosmo....you do not need to add any overhead to this. In fact, you would do better without any slicing at all. CSS is your friend...just learn a little bit of it and you are golden.

                    Comment


                    • #11
                      I link this one more, though a fan of paul irish so maybe a tad bias.

                      css3please

                      Comment

                      Google search Google search Module
                      Collapse
                      Latest Topics Latest Topics Module
                      Collapse
                      • Red Kittie Kat's Avatar
                        That's awesome news!
                      • iraszl's Avatar
                        We were promised by the maker of the forum software that a fix will be released within a few days.
                      • rdan173's Avatar
                        Commented to Another Drawing
                        Do you mean I should post an image that just shows the outlines. Or if I work in preview mode it would be easier? I don't know what you mean.
                      • iraszl's Avatar
                        Commented to Client meeting
                        And switch off any questionable screen savers.
                        I remember my account person once was presenting and little dancing bikini girls appeared on the bottom tray while the client was having a monologue....
                      • benj22's Avatar
                        Commented to Client meeting
                        It will look professional if you have business cards.
                        Get your laptop and prepare to show samples of your work.
                        (Make sure your desktop is not messy )
                      • iraszl's Avatar
                        Commented to Client meeting
                        Business cards for sure. Laptop if you have internet connection is useful too.
                      • ccpenn's Avatar
                        A client in the city wants to meet next week to talk about a website. I was referred by a previous client. Should I bring my laptop?
                        Or get business cards made?
                      • Typically's Avatar
                        I finally got myself an extra 2tb drive that i will be backing up my files on. I have a backup option with my Norton Security Suite, but wanted to see if anyone had alternatives or what you use. I'm on...
                      All Creative World Network All Creative World Network Module
                      Collapse
                      WebMediaBrands
                      Mediabistro | SemanticWeb | Inside Network
                      Jobs | Education | Research | Events | News
                      Advertise | Terms of Use | Privacy Policy
                      Copyright WebMediaBrands Inc. All rights reserved.
                      Working...
                      X